Groups | Blog | Home
all groups > sql server clients > june 2004 >

sql server clients : Error !



Noor
6/29/2004 10:25:54 AM
I am using the following command but it gave me an error

dbcc checktable ('testing') with REPAIR_REBUILD

Server: Msg 195, Level 15, State 4, Line 1
'REPAIR_REBUILD' is not a recognized option.

Thanks
Noor

Hari
6/29/2004 3:24:01 PM
Hi,

I think you are executing this option (DBCC CHECKDB with REPAIR_REBUILD) in
a SQL Server
version prior to SQL 2000.

--
Thanks
Hari
MCDBA
[quoted text, click to view]

vikramj NO[at]SPAM online.microsoft.com
7/27/2004 5:48:23 PM

IN SQL 2000, you'd want to do
dbcc checktable ('mytable',REPAIR_REBUILD)


Vikram Jayaram
Microsoft, SQL Server

This posting is provided "AS IS" with no warranties, and confers no rights.
Subscribe to MSDN & use http://msdn.microsoft.com/newsgroups.

AddThis Social Bookmark Button