You would have to execute sp_executesql on the remote machine with the DBCC command within the dynamic SQL code block. DBCC commands are not setup to be run remotely.
<pre>exec Server2.master.dbo.sp_executesql 'DBCC ...'</pre>
Last Wiki Answer Submitted: May 23, 2008 5:08 pm by Denny Cherry64,520 pts.
All Answer Wiki Contributors: Denny Cherry64,520 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.