Question : How to run DBCC CHECKDB

Hello - I've got an Access 2003 front end going against a SQL Server 2000 back end. I recently started having problems with one table (getting "fatal error 3624"), the advice from here was to run DBCC CHECKDB (Q_23057031).

I tried this last night with everybody out of the database (DBCC CHECKDB REPAIR_REBUILD), got an error message about having to re-start the db in single user mode, got that done, then get an error message about how that command could only be run with a single administrator logged on. I opened up "Manage" under My Computer, and checked everything under "Shared Folders"; the Enterprise Manager session was the only thing using the SQL Server db.

Can somebody give me, or point me to, detailed instructions on how to run these commands (DBREINDEX & INDEXDEFRAG, also) the from the non-DBA perspective? I looked around, and everything assumes a higher level of experience with SQL Server than what I've got...

Thanks

Mark    

Answer : How to run DBCC CHECKDB

Try using sqlmaint then:

http://msdn2.microsoft.com/en-us/library/aa214022(SQL.80).aspx
Random Solutions  
 
programming4us programming4us