cybercat2001
Programmer
Hi,
I am working on a project where I have to corrupt the MS SqlServer database in a test environment and generate the following errors in the NT Event log:
903 22 0 Could not find row in sysindexes for clustered
index on system catalog %ld in database ID %d. This index should existin
all databases. Run DBCC CHECKTABLE on sysindexes in the database.
906 22 0 Could not locate row in sysobjects for system
catalog '%.*ls' in database '%.*ls'. This system catalog should existin all
databases. Run DBCC CHECKTABLE on sysobjects in this database.
913 22 0 Could not find database ID %d. Database maynot
be activated yet or may be in transition.
5180 22 1 Could not open FCB for invalid file ID %din
database '%.*ls'. Table or database may be corrupted.
Can some one tell me the sequence of steps that I need to follow to generate the above error messages.
I found one database corruption script in but that was not useful to generate the above error messages.
Please help.
Thanks
Sridharan H
I am working on a project where I have to corrupt the MS SqlServer database in a test environment and generate the following errors in the NT Event log:
903 22 0 Could not find row in sysindexes for clustered
index on system catalog %ld in database ID %d. This index should existin
all databases. Run DBCC CHECKTABLE on sysindexes in the database.
906 22 0 Could not locate row in sysobjects for system
catalog '%.*ls' in database '%.*ls'. This system catalog should existin all
databases. Run DBCC CHECKTABLE on sysobjects in this database.
913 22 0 Could not find database ID %d. Database maynot
be activated yet or may be in transition.
5180 22 1 Could not open FCB for invalid file ID %din
database '%.*ls'. Table or database may be corrupted.
Can some one tell me the sequence of steps that I need to follow to generate the above error messages.
I found one database corruption script in but that was not useful to generate the above error messages.
Please help.
Thanks
Sridharan H