is there a way to know if i have open connections to my database (i'm using sql server 2000)? or is there a way to close all those connections? coz i'm trying to backup and restore my database. i'm having problems with my restore, saying that "Exclusive access could not be obtained because the database is in use."
one more thing, what command can i use to close all my open forms at once? for example, i have my main form, then i open my Restore form. after my restore is done, i want my application to close automatically, even if my Restore form and my main form is still open.
thanks for the help.
one more thing, what command can i use to close all my open forms at once? for example, i have my main form, then i open my Restore form. after my restore is done, i want my application to close automatically, even if my Restore form and my main form is still open.
thanks for the help.