Where do I run dbcc checkdb?

3

1

I was told to run dbcc checkdb on a Microsoft SQL server database. Exactly where am I supposed to run this? In the SQL Server Configuration Manager? If so, where do I actually type this command?

user1413

Posted 2010-09-30T03:41:37.357

Reputation: 3 666

Answers

3

In management studio click new query and type:

Use [Your database name]
DBCC CheckDB

Stanley Kapfunde

Posted 2010-09-30T03:41:37.357

Reputation: 31

2

No you type is into a command or query shell. You can open one using SQLCMD shell if you have the SQL server client components installed. Also you can use the SQL Server Management Studio.

Preet Sangha

Posted 2010-09-30T03:41:37.357

Reputation: 1 126