Hi!!
I have been been using a table that sometimes looks like it is damaged.
When I delete and create it again, I still have problems. SQL Server 6.5
(Service Pack 2) seems to be having problems with the folowing table for
some reason that I don't understand. Could some of you try this query (in
older versions of SQL Server too) to see if it runs?
create table test (
c1 text NULL ,
c2 varchar(250) NULL ,
c3 char(40) NULL ,
c4 char(40) NULL ,
c5 char(70) NULL ,
c6 char(40) NULL ,
c7 char(70) NULL ,
c8 text NULL ,
c9 char(30) NULL
)
go
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
insert into test (c1) values ('Test')
go
update test set c9='Test'
At this point, the client connection should crash if a message like this:
Msg 806, Level 21, State 1
Could not find virtual page for logical page 538976288 in database
'traduc'
The SQL Server is terminating this process.
--
Mario De Sousa Barrera
Eniac, C.A.
Caracas, Venezuela