Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL-DMO DetachDB method causing timeout

Status
Not open for further replies.

DJacobitz

Programmer
Jun 1, 2000
1
US
&nbsp;&nbsp;AFAIK, the DetachDB method of the SQLServer object is just a stub for sp_detachdb.&nbsp;&nbsp;This happens intermittently :):sigh::) on large databases.&nbsp;&nbsp;I've set the .querytimeout property, but it doesn't seem to be affecting this process (I set the timeout to 120 seconds, and the detach process throws a timeout at around 300 seconds).&nbsp;&nbsp;Anyone know how I can get around this?<br><br>-Dave<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top