In Management Studio, when you delete a DB, there is a check box that optionally allows you to drop all existing connections. Is there an equivalent in T-SQL? So far, I have found that the "Drop Database" command has no parameters that can be used for this. And if not, how can I, using T-SQL, drop all connections to a DB?
Thanks in advance!!!
Thanks in advance!!!