you could do this:
ALTER DATABASE DBNAME SET RESTRICTED_USER
I think that will prevent any other connections from hitting the database unless they are a sysadmin...you don't have everyone logging inas 'sa', right? i do not believe it causes non-admins from dropping their existing connections.
optionally, you can kick everyone out and also restrict it to sysadmins:
ALTER DATABASE DBNAME SET RESTRICTED_USER WITH ROLLBACK IMMEDIATEand if you are currently connected yourself in an SSMS window, you could set it to single user to get exclusive access.
ALTER DATABASE DBNAME SET SINGLE_USER WITH ROLLBACK IMMEDIATE
--help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!