Table Corrupt Error

Aug 7, 2000

Hi Everybody,Can any one tell me how to solve the error 8908(Table Corrupt error). Iam getting this problem every 6 weeks or so. Chain linkage mismatch problem.Help in this regard is highly appreciated.Thanks in advance.
Monu.

View 1 Replies


ADVERTISEMENT

Corrupt Table (Error 2502)

Jul 16, 1999

I have SQL Server 6.5 I was running DBCC CHECKALLOC (db_name) and I got corrupt table error 2502. Please can anyone help me out as to what I do to repair that corrupt table? I wait for your help. I shall remain.

Regards,
E. Warden

View 2 Replies View Related

Table Corrupt Error 2511 SQL 6.5

Jun 1, 2001

I have the following error on a table. I have rebuilt the index with the sorted_DATA_reorg option but no sucess any ideas!!?

Table Corrupt: Keys in data page should be in ascending order; check page number 13843
Server: Msg 2511, Level 16, State 1, Line 1

View 1 Replies View Related

Error 2541 Table Corrupt - HELP!

Jul 4, 2001

Since a user increased the size of a 5.5Gb database by 500Mb, the following error is being reported when they attempt to use the Recalculate button:

Error 2541:[SQL Server]Table Corrupt: object id does not match between extent in allocation pages and Sysindexes; check the following extent alloc pg#=195072 extent#=195320 object id on extent=0 (object name = 0)object id in Sysindexes=471787584 (object name = C0122402RT0)

Other than this the database is behaving normally so far. How do I solve this problem?

thanks

Derek

View 2 Replies View Related

Error 2504 Server Table Corrupt

Dec 1, 1999

I have a table which I am unable to drop, remove indexes from, and when I select the database from the EM and click on Recalculate get the following error:

When attempting to do a Recalculate from the EM I get: Error 2541 (SQL Server) Table Corrupt object id does not match between extent in allocation page a d sysindexes; check the following extent; alloc pg# 589050 extent# 589096 object id on extent=0 object name=0 object id in sysindexes=1420532094 (object name=MifDEtailOct)

When attempting to remove an index from the table I get: Error 2504 (SQL Server) Table Corrupt index id in alloc page does not match the index id in sysindexes (alloc page#=721664; extentid=721704; index id in alloc=5;index id in sysindexes = 4

When attempting to drop the table from the EM it disappears then when I do a refresh it's back again.

I run a checkdb on the database once a week, but that hasn't resolved the problem.

I also ran the sp_fixindex as outlined in the faq with no relief.

This initially happened on one table and now I'm getting the same error on a second table. I have removed the data from both tables, but can't seem to get rid of them.

These tables originally has a couple of million records in them so they were rather large before I moved the data to a new table.

Truncate also didn't work when I was attempting to clear the table. I had to create an sp to delete a few hundred thousand records at a time.

I would appreciate any suggestions.

Rick Poland
rpolan1@tandy.com

View 1 Replies View Related

Error 2541 Table Corrupt - URGENT!

Oct 19, 2001

Since a user increased the size of a 5.5Gb database by 500Mb, the following error is being reported when they attempt to use the Recalculate button (I think they mave for some reason have recreated a table that they thought was missing, but I haven't been given the full details yet!):

Error 2541:[SQL Server]Table Corrupt: object id does not match between extent in allocation pages and Sysindexes; check the following extent alloc pg#=195072 extent#=195320 object id on extent=0 (object name = 0)object id in Sysindexes=471787584 (object name = C0122402RT0)

Other than this the database is behaving normally so far. How do I solve this problem (i'm hoping to get this sorted soon if anyone can help)?

thanks

Derek

View 2 Replies View Related

Corrupt Table

Aug 24, 2006

I have a table that I can't read any data. 
It hangs up when I try to drop it as well.
 
So, what are my options here?  Secondly, what has caused this?

View 5 Replies View Related

Table Corrupt- Help

May 30, 2001

Hi,
One of my tables got corrupt and it is not possible to bring down the Database into Single user mode to run the dbcc to repair it. Is there any other way that I could correct.

Thanks
Cynthia

Msg 8978, Sev 16: Table Corrupt: Object ID 901630305, index ID 8. Page (5:572498) is missing a reference from previous page (8:98777). Possible chain linkage problem. [SQLSTATE 42000]
Msg 8928, Sev 16: Object ID 901630305, index ID 8: Page (8:98777) could not be processed. See other errors for details. [SQLSTATE 42000]
Msg 8976, Sev 16: Table Corrupt: Object ID 901630305, index ID 8. Page (8:98777) not allocated or corrupt. Parent (5:335525) and previous (5:572497) refer to it. [SQLSTATE 42000]
Msg 8944, Sev 16: Table Corrupt: Object ID 901630305, index ID 8, page (8:98777), row 38. Test (VarColOffsets + (int)(sizeof (class VarColOffset) * nVarCols) <= (nextRec - pRec)) failed. Values are 525 and 26. [SQLSTATE 42000]

View 3 Replies View Related

Corrupt Table

May 23, 2000

What is the best approach to repairing a corrupt table? I received the following error from last night's maintenance. (SQL 6.5)

Thanks, Kevin

[2] Check Data Allocation...
WARNING: Database AHSDATA is currently being used by 1 user(s).
This may cause spurious problems to be reported.

The following errors were found:

Table Corrupt: object id does not match between extent in allocation page and Sysindexes; check the following extent: alloc pg#=247552 extent#=247720 object id on extent=-1175060352 (object name = -1175060352) object id in Sysindexes=1329491865 (object name = PS_AHS_RETIRE_2000)

Table Corrupt: Index id on extent should be 0; check the following page and ids: alloc page=247552 extent=247720 index id on extent=200

Table Corrupt: Extent structures are linked incorrectly; check the following extent: alloc pg#=247552 extent#=247720 previous extent# on this extent=-1 previous extent should be=247712

Table Corrupt: Object id wrong; tables: alloc page 247552 extent id=247720 l page#=247720 objid in ext=-1175060352 (name = -1175060352) objid in page=1329491865 (name = PS_AHS_RETIRE_2000)objid in sysindexes=1329491865 (name = PS_AHS_RETIRE_2000)
** Execution Time: 0 hrs, 10 mins, 50 secs **

[3] Update Statistics...
[Microsoft SQL-DMO] Error 605: [SQL Server] Attempt to fetch logical page 247792 in database 'AHSDATA' belongs to object 'PSPNLDEFN', not to object 'PS_AHS_RETIRE_2000'.
[Microsoft SQL-DMO] Error 10025: [DB-Library] Possible network error: Write to SQL Server Failed.

** Execution Time: 0 hrs, 5 mins, 11 secs **

View 4 Replies View Related

Table Corrupt

Jan 17, 2000

I have a problem for dropping a table from my database and I got the error message: ""Extent chain for object 736005653 is not correctly linked." The problem indicates table corrupt on the database from DBCC checknewalloc. Instead of reloading the database from a dump, do you have anyway to repair the damage table or drop it.

TIA,

Stella Liu

View 1 Replies View Related

Table Corrupt

Dec 25, 1999

I am running SQL server 6.5 with sp3 on NT4.0 with sp6. I ran DBCC checkalloc on one of my database and got the following message.

Table Corrupt: Extent structures are linked incorrectly; check the following extent: alloc pg#=6815488 extent#=6815736 previous extent# on this extent=8625424 previous extent should be=6815728

I have previouly ran dbcc checkdb on the database and I was not able to correct the problem. Please help!

View 1 Replies View Related

Corrupt Table

Mar 12, 2001

I run a daily maintaince job and it fails.But when i go through the error log. i get
this eror "'Table Corrupt: Extent id 30464 on allocation pg# 30464 has objid 732178004 and used bit on, but reference bit off"
how do i get the table name fron sysobjects as i have had no luck when i do a simple select query to get the details i need

Getting the name would make it easier to solve the problem
thanks

safac

View 1 Replies View Related

Possible Corrupt Table

Jul 20, 2005

I have 1 table in a 200+ table databaseThe database is Merge Synchornised and has been working fine for 2years +The same database is at several customers and the DB is fullyrelationalI have a table which creates client timeout errors whenever an insertor update is issuedThe table has foreign keys and primary key and links parent tochildren tables so if I need to recreate the table I will also needadvice on the best way to do this to keep the integrity of thedatabaseI wasn't sure the table was the problem so I deleted all publicationsand disbled the server from being a distributorI cannot find any error logs with any clues so can only assume the isthe first corruption I have ever seen on SQL 2K (SP3)I have defragmented the drive, reindexed the tables, shrunk databases(Plenty of space available)Please advise any course of action you think may help me.Regards Paul Goldney

View 1 Replies View Related

Error 601 - Corrupt Database??

Sep 10, 1999

I am getting an error every so often on my databases,
I get the following error,
DEscriptor for system table 8 in database not found in hash table,
the databses are unusalble until I stop SQL & shut down

I checked the books on line and it says to stop SQL and shut down,
I have done this and it solves the problem temporaily,

Is there any way that I can permanently fix this,

If anyobne has any ideas I'd appreciate it,
Thanks,
Fin

View 1 Replies View Related

Error Message -- Is Db Going Corrupt?

Aug 6, 1999

Although backups and integrity checks show that there is nothing wrong with one of my databases, when I did a "dbcc checkalloc" to one of my databases, amidst all of the information (it was successful as well) was the following message:

Msg 2540, Level 16, State 1
Allocation Discrepancy: Page is allocated but not linked; check the following pages and ids: allocation pg#=40960 extent id=41208 logical pg#=41208 object id on extent=8 (object name = syslogs) indid on extent=0

How do I fix this?

Thanks

View 4 Replies View Related

How To Remove A Corrupt Table!!

Jan 2, 2001

I have small table that has been corrupted.
I'm getting the following error when running a simple select statement:
"could not open FCB for invalid file ID 0 in database 'data_base_name'.
Table or database may be corrupt. connection broken."

I have already created a new table, but I have been unsuccessful at removing the corrupted table. Does anyone know the steps to go about removing this table? And, if anyone has seen this type of error before, why did it occur?
Is it a bug with microsoft SQL7? Any info would be greatly appreciated.
Thanks in advance

View 3 Replies View Related

Corrupt Table In SMS Database

Feb 25, 2000

Folks,
I am running SQL 7.0 & SMS 2.0. I get the following message while running DBCC CHECKCATALOG on my SMS database.

"Table Corrupt: Object ID 322100188 (object 'Summarizer_ComponentTallys') does not match between 'SYSREFERENCES' and 'SYSCOLUMNS.'."


This prevents my nightly tape backup as well.. Veritas (Backupexec) nightly as well. Is there a fix for this? This has been happening since we installed SMS 2.0 sometime in December.

Thanks.
Sam

View 1 Replies View Related

Table Corrupt On SQL7.0

Jan 14, 2000

Hi folks,
on one of my SQL7.0 Servers I sometimes encounter the following message in the errorlog:

Table Corrupt: Object ID 0, index ID 0, page ID (1:999816). The PageId in the page header = (0:0).
It seems to me that this message is put for each db that is delt with in the maintenance plan, because it is the same number (16 times in my case)

It occurs during the index reorganisation phase of my maintenance plan. Before this happens there is a DBCC checkdb and DBCC newalloc on several DBs with no errors.

Anything I have to check or to fix, or can I ignore such zero-messages?
Thank you in advance
Karsten

View 1 Replies View Related

System Table Corrupt - PLEASE Help....

Aug 11, 1999

I have a corrupt syscolumns table and have no good backups :(

I get message 7930, Level 16, State 1.
Table Corrupt; keys in left child is not less than the parent key; check left child page 15491....

The end result is the appearance that a column is missing from one of my tables. In otherwords, I know the table is supposed to have col1, but when I select data from the table, col1 does not show up....dbcc checkdb gave me the error above.

thanks in advance!

Dean

View 1 Replies View Related

Corrupt Tempdb Table

Feb 10, 1999

I recieve a corrupt tempdb table when I run dbcc newalloc. Is there anything I can do other then restore from a backup.

View 6 Replies View Related

Help Please!Syslogs: Table Corrupt

Mar 11, 1999

Hi!
I had following problem:
dbcc checktable('syslogs')
Checking syslogs
Msg 2503, Level 16, State 1
Table Corrupt: Page linkage is not consistent; check the following pages: (current page#=438165; page# pointing to this page=438166; previous page# indicated in this page=0)
DBCC execution completed. If DBCC printed error messages, see your System Administrator.
dbcc newalloc(kmn,NOINDEX)
************************************************** *************
TABLE: syslogsOBJID = 8
INDID=0 FIRST=420675 ROOT=460295 DPAGES=57143SORT=0
Msg 2525, Level 16, State 1
Table Corrupt: Object id wrong; tables: alloc page 420608 extent id=420672 l page#=420675 objid in ext=0 (name = 0) objid in page=8 (name = syslogs)objid in sysindexes=8 (name = syslogs)
Page linkage failed for INDID 0; Processed 1 pages;
Data level: 0. 0 Data Pages in 1 extents.
TOTAL # of extents = 0
************************************************** *************
Restoring a database from a backup copy is impossible.

Alexandr.

View 3 Replies View Related

Trying To Correct Corrupt Table

Jan 12, 2007

Hi there!

I need to execute: ALTER DATABASE MyDB SET SINGLE_USER
which always returns Timeout Expired.

I can't execute dbcc checktable (MyTable, REPAIR_ALLOW_DATA_LOSS) until the database is in single mode.

How else can I set single-mode or can I bypass that requirement?

Thanks!

Mike

View 3 Replies View Related

Corrupt SQL 2000 Database - Error 823

Jun 9, 2006

Robert writes "Is it possible to recover any data from a database that is throwing the following error in query analyzer?

select * from table1

server: msg 823, level 24, atate 2, line 1
I/O error (bad page ID) detected during read at offset 0x00000007b7e000 in file '... dbname.mdf'


I can select top n from some tables with no error, if n is too large, I get the same error. Other tables give this error even for top 1.

After setting the db in single_user mode, I tried dbcc checkdb with repair_allow_data_loss option and received the following:

msg 8966, level 16, state 1, line 1
could not read and latch page ( 1:15807 ) with latch type SH. sysindexes failed.

I tried dbcc checktable on sysindexes with repair_allow_data_loss option and received the following:

msg 8966, level 16, state 1, line 1
could not read and latch page ( 1:15807 ) with latch type SH. sysindexes failed.
msg 8966, level 16, state 1, line 1
table error: object id 0, indexid 0, page ID (1:15807) the pageid in the page header = (0:0)
The error has been repaired.

I get the same message each time I run the DBCC command.

I can select * from sysindexes with no problem.

If I select * from sysindexkeys, I get the following:

msg 601, level 12, state 3, line 1
could not continue scan with nolock due to data movement.

I'm wondering if sysindexkeys is corrupt and causing this problem?...

I have also tried to bcp data out of the database with no success.

Any help or advice would be greatly appreciated.

Thanks in advance.

Robert"

View 5 Replies View Related

Database Corrupt , I Want Delete Some Table

Nov 1, 2006

I have database currupt some table , I want to delete / drop table

Example

1. databaseTest Have --> table customer , table payment , table sales

2. table Payment can't select / drop / insert /rename (fail) show message error below

ERROR (Row 0);
Microsoft SQL Server 2000 Windows CE Edition:
"The database file is corrupted. (Database name: "" )"

3.How to drop table Payment (I want to drop and create table again and insert data to new table ) Or How to solution for repare table Payment

Thank You

Suwimol

View 3 Replies View Related

Fatal Error 1109 And Msdb Corrupt

Feb 9, 1999

Has anyone ever seen fatal error 1109, I cannot find any info on it. Also, our msdb was either corrupted at a clients site or someone deleted it and tried to recreate it to cover themselves....any how...all of the stored procedures are missing from it and it will not let us back up data or schedule tasks...do I need to re-install SQL Server 6.5 to fix this?

Thank you.

View 1 Replies View Related

ERROR: The Cabinet File 'Sql.cab' Required For This Installation Is Corrupt And Cannot Be Used

Apr 15, 2006

As the title indicates, I'm having this error during installation. It occurs when I try to install
the "Management Studio" part of the program. I've tried a bunch of things like
copying to hard drive and installing, but to no avail. To isolate the problem, i've even tried removing Reporting services, since at the time of failure it seems to be trying to install/configure the Microsoft.Reporting Services dll.

Additionally, I have SQL Express installed (installed it separately, not as part of the SQL 2005 DVD), VS 2005, .NET Framework 2.0, SQL Management Studio Express CTP. Could the Management Studio Express be causing a problem?

Please note:
Although the error is about missing / corrupt Sql.cab, I have searched the entire dvd for the said file, but there is no file called Sql.cab on the dvd. Am I missing something?

Any solution would be greatly appreciated.

TIA

View 23 Replies View Related

Download/ Uninstall Problem: Error Indicating Corrupt File

Oct 13, 2007

I hope someone can help me here. Here is some background.

As I was attempting to download SQL Express, the download dialog box timed out. When I x-ed out of the download, Windows XP Professional 2002 threw up an error message indicating that the dialog box was non-responsive, and I elected to close it.

I downloaded SQL again successfully, and installed with no errors. I then attempted to create a new db through Visual Web Developer. Instead of creating a database, Visual Studio returned an error saying that I did not allow for new database objects, and that I should change my permission settings. I could not figure out how to do this, so I uninstalled SQL Express.

After re-starting, I got the following message: €œYour SQL Server Installation is either corrupt or has been tampered with (could not open SQLEVN70.RLL). Please uninstall then re-run setup to correct this option.€?

I uninstalled MS SQL again from the Add/Delete Programs on my Control Panel. On re-start, I received the same error again. On my Programs list, MS SQL is not present, there are several MS SQL files in the path C:Program FilesMicrosoft SQL Server.

So I located the Visual Studio uninstall tool and attempted to run it. I received the same error: €œYour SQL Server Installation is either corrupt or has been tampered with (could not open SQLEVN70.RLL). Please uninstall then re-run setup to correct this option.€?

Any ideas on how to uninstall the files in my program files so I can load a clean copy of SQL?

View 3 Replies View Related

Corrupt Sql.cab File Error While Installing Sql Server 2005 Develooper Edition

Apr 9, 2007

I was successfully able to installing sql server 2005 developer edition all peices except the "Workstation Component, Book Online, Development Tool", the last item in the installation list. It gave errror for bad sql.cab file. Although this developer edition came directly of the box this error came up in many attempts. Upon "Ignore" it gives error 2350.

I am able to run sql server's all the services and able to access it via VS.Net server browser. I can create and change tables etc. but there is no "Management Studio" installed. There is no icon for it either on the desktop or in the Start->SQL Server 2005 menu.

Is it possible to get and copy sql.cab file or entire client component from somewhere else? --Freed download or something? I searched for sql.cab file but it was not in the CD. It could be inside some other file or cmpressed.

Any suggestion.

View 2 Replies View Related

ERROR MESSAGE: Your SQL Server Installation Is Either Corrupt Or Has Been Tampered With (could Not Open SQLEVN70.RLL)

Oct 1, 2007

I am receiving the following error message at bootup: "Your SQL Server installation is either corrupt or has been tampered with (could not open SQLEVN70.RLL)."

My Operating System is: Windows XP Media Center Edition Service Pack 2 (build 2600)

I have tried reloading XP and Windows to no avail.

HELP!

View 4 Replies View Related

Data Adapter FILL Causing Data Corrupt Error In C# Web Service

Apr 2, 2008

I hope someone has seen this one...I've got a very simple web method that returns a DataTable from my database. It worked fine until I changed this line of code:

string SqlString = @"SELECT Timestamp, Confession FROM Confessions WHERE ConfessionID = ? ORDER BY Timestamp desc";

To this line of code:

string SqlString = @"SELECT Timestamp, Confession FROM Confessions WHERE ConfessionID = ? AND CategoryID = ? ORDER BY Timestamp desc";


Here is the complete webmethod:

[WebMethod]
public DataTable GetConfession (int ConfessionID, int CategoryID) {

DataTable dt = new DataTable();
dt.TableName = "XMLConfession";

string SqlString = @"SELECT Timestamp, Confession FROM Confessions WHERE ConfessionID = ? AND CategoryID = ? ORDER BY Timestamp desc";

using (OleDbConnection cn = new OleDbConnection (ConnectionString)) {
using (OleDbCommand cmd = new OleDbCommand (SqlString, cn)) {

cmd.CommandType = CommandType.Text;
cmd.Parameters.AddWithValue ("@ConfessionID", ConfessionID);
cmd.Parameters.AddWithValue ("@CategoryID", CategoryID);
cn.Open();

OleDbDataAdapter da = new OleDbDataAdapter (cmd);

da.Fill (dt);
}
}

return dt;
}
To cause the error, all I did was add the AND statement into the query. Now I get this .NET error message every time I try to run this program:


System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.Data.Common.UnsafeNativeMethods.ICommandWithParameters.SetParameterInfo(IntPtr cParams, IntPtr[] rgParamOrdinals, tagDBPARAMBINDINFO[] rgParamBindInfo) at System.Data.OleDb.OleDbCommand.ApplyParameterBindings(ICommandWithParameters commandWithParameters, tagDBPARAMBINDINFO[] bindInfo) at System.Data.OleDb.OleDbCommand.CreateAccessor() at System.Data.OleDb.OleDbCommand.InitializeCommand(CommandBehavior behavior, Boolean throwifnotsupported) at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) at System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.OleDb.OleDbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)

I am using SQL Server Compact Edition 3.5 and C# .NET 2.0. It's worth noting that the web service does this outside of the program as well, so I don't think the problem is in the code that calls it. Also worth noting is that the query itself works fine when I substitute values in and run it in .NET Server Explorer.

Thanks in advance for any assistance.

View 5 Replies View Related

Corrupt Table &"Attempt To Fetch Logical Page....&"

May 16, 2008

I have SQL 2005 with sp1 (can't get sp2 to install yet), with a failover cluster (that works, but hasn't needed to be used in awhile), and the data resides on a, new, 1TB SAN array.

We were not aware one of our tables were corrupt until the last rotation of our backup included the corrupt table. So restoring isn't an option. rebuilding the table is a last resort. I would like to understand how this happened, and how to prevent it.

The error when trying to do anything to the table, read, edit, drop, etc:

Attempt to fetch logical page (1:27232) in database 23 failed. It belongs to allocation unit 72057594049069056 not to 281474980642816.

the first allocation unit # is sysobjvalues, and the second is g2_pluginparametermap

the table that the error happens on is g2_Item.


CHECKDB returns this error:
Msg 605, Level 12, State 3, Line 1
Attempt to fetch logical page (1:27232) in database 22 failed. It belongs to allocation unit 72057594049069056 not to 281474980642816.
Msg 8921, Level 16, State 1, Line 1
Check terminated. A failure was detected while collecting facts. Possibly tempdb out of space or a system table is inconsistent. Check previous errors.

(tempdb is only 14megs, the drive has almost 30 gigs of free space. the db in question is only 300 megs)


dbcc page(db,1,27232,1)
returns nothing


I thought for sure I had manually made a backup quite awhile ago when I knew this table was fine. I restored the backup to a new database and am having the same exact problem.

View 19 Replies View Related

The Push Method Returned One Or More Error Rows. See The Specified Error Table. [ Error Table Name = ]

Jan 10, 2008

Hi,
I have application in which i am performing synchronization between SQL Server 2000 and SQL Server 2005 CE.
I have one table "ItemMaster" in my database.There is no relationship with this table,it is standalone.I am updating its values from Windows Mobile Device.

I am performing below operations for that.
Step : 1 Pull To Mobile



Code BlockmoSqlCeRemoteDataAccess.Pull("ItemMaster", "SELECT * FROM ItemMaster", lsConnectString,RdaTrackOption.TrackingOn);





Step : 2 Using one device form i am updating table "ItemMaster" table's values.

Step : 3 Push From Mobile



Code BlockmoSqlCeRemoteDataAccess.Push("ItemMaster", msConnectString);




So i am getting an error on 3rd step.
While i am trying to push it says,
"The Push method returned one or more error rows. See the specified error table. [ Error table name = ]".
I have tried it in different ways but still i am getting this error.

Note : Synchronization is working fine.There is not issue with my IIS,SQL CE & SQL Server 2k.

Can any one help me?I am trying for that since last 3 days.

View 7 Replies View Related

Corrupt

Oct 12, 2001

I found this script some where on internet..i am not sure what it does and how to i solve the problem because my friend has already run the script and i donno how to get back to the original configuration.

/* this script works on a database that is a copy of pubs. I created this database easily with DTS
This only works on SQL Server 7 databases
*/

/* NOTE: This script will truly corrupt a database. It should not be run on ANY real
database. It is only for simulating corruption for training purposes.

*/
sp_configure allow, 1
go
reconfigure with override
go
update sysindexes set FirstIAM = 1234
where id = OBJECT_ID('roysched')
go
sp_configure allow, 0
go
reconfigure with override
go


How to sovlve the issue after the corrupt is done...how do i modify the info back to original..

Are there any other process or script that i can simulate to corrupt the databse and solutions pertaining to the same..i would like to experiment and then see how it goes and how quickly i can solve...

Thanks,

Jeff

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved