title: How do you kill all current connections to a SQL Server 2005 database?
body: <p>I want to rename a database, but keep getting the error that 'couldn't get exclusive lock' on the database, which implies there is some connection(s) still active.</p>
  
  <p>How can I kill all the connections to the database so that I can rename it?</p>