title: How to force a SQL Server 2008 database to go Offline
body: <p>How do I force my Database to go Offline, without regard to what or who is already using it?</p>
  
  <p>I tried:</p>
  
  <pre><code>ALTER DATABASE database-name SET OFFLINE;
  </code></pre>
  
  <p>But it's still hanging after 7 min.</p>
  
  <p>I want this because I need to test the scenario.</p>
  
  <p>If it's even possible?</p>