title: SQL Select rows and delete/update from dynamic multiple tables
body: <p>I need some help with an sql statemen.
  I have different schemas and same table names.
  With the following select i can get all the tables:</p>
  
  <pre><code>select name from sys.tables where QUOTENAME(name) = '[Table_1]'
  </code></pre>
  
  <p>Now i want to loop through all the tables, and have some similar query to this:</p>
  
  <pre><code>delete from tablename where condition1 &gt; condition2
  </code></pre>
  
  <p>How can i achieve this?</p>