Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 How I can detach from DB and validate it?

Author  Topic 

Newbie2005
Starting Member

29 Posts

Posted - 2006-05-23 : 20:25:54
How I can detach from DB and validate it?
(I mean check if it is detached or not)
Is there any why to return a value from sp_detach_db in C++?

derrickleggett
Pointy Haired Yak DBA

4184 Posts

Posted - 2006-05-23 : 21:48:55
Just run it with a return value. You can capture the success or failure of the statement that way.

MeanOldDBA
derrickleggett@hotmail.com

When life gives you a lemon, fire the DBA.
Go to Top of Page
   

- Advertisement -