Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Can dbcc be run from the cmd prompt? Expand / Collapse
Author
Message
Posted Tuesday, January 1, 2008 5:33 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, March 5, 2008 7:42 AM
Points: 1, Visits: 2
Hello,

How can I run the dbcc command?

Can it be done from the cmd prompt?

Sorry from my ignorance but I'm very new to SQL and any help would be appreciated.

Thanks!

Asher. :D
Post #437721
Posted Tuesday, January 1, 2008 8:40 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: General Forum Members
Last Login: Today @ 2:58 PM
Points: 36,760, Visits: 31,215
Yes, but you need to do it through "OSQL". Lookup "OSQL" in Books Online for full details about usage.

--Jeff Moden
"RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".

First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."

(play on words) "Just because you CAN do something in T-SQL, doesn't mean you SHOULDN'T." --22 Aug 2013

Helpful Links:
How to post code problems
How to post performance problems
Post #437737
Posted Wednesday, January 2, 2008 6:58 AM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 1:21 PM
Points: 5,975, Visits: 12,883
or use one of the SQL gui tools (Query analyser, enterprise manager. sql server management studio, maintenance plans). exact too, depends on version of SQL u r using.

Again see BOL


---------------------------------------------------------------------

Post #437958
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse