title: Delete a queue via Database
body: <p>Currently I run some tests with OTRS.</p>
  
  <p>I searched for a possibility to delete the waste queues and found somewhere a tip to do that via deleting the records in the database.</p>
  
  <p>Proceed:</p>
  
  <ul>
  <li><p><em><strong>Removing constraint:</strong></em></p>
  
  <p><code><strong>ALTER TABLE</strong> queue_standard_response <strong>DROP FOREIGN KEY</strong> ‘FK_queue_standard_response_queue_id_id’;</code></p></li>
  <li><p><em><strong>Deleting the records</strong></em></p>
  
  <p>For one thing in the queue table, and for another thing in the queue_standard_response table.</p></li>
  <li><p><em><strong>ADD constraint again</strong></em></p>
  
  <p><code><strong>ALTER TABLE</strong> queue_standard_response <strong>ADD CONSTRAINT</strong> FK_queue_standard_response_queue_id_id <strong>FOREIGN KEY</strong> (queue_id) <strong>REFERENCES</strong> queue (id);</code></p></li>
  </ul>
  
  <p>The problem is, that I still see the deleted queues in Queue Manager also after clearing the browser cache. Out of which table is OTRS fetching these information?</p>
  
  <p>Do someone have a solution?</p>