title: Temporary table delete row
body: <p>Why I can't delete row from temporary table?</p>
  
  <pre><code>DECLARE @tbl2 TABLE
      (
      Id int,
      ImieNazwisko varchar(200),
      Pesel varchar(200),
      Kod varchar(200)
      )
  
  DELETE FROM @tbl2 tblT WHERE tblT
  SELECT * FROM @tbl2
  </code></pre>
  
  <p>also this doesn`t work:</p>
  
  <pre><code>DELETE FROM @tbl2 WHERE @tbl2.Id
  </code></pre>