title: What's the difference between DECLARE TABLE and CREATE TABLE?
body: <p>I need to translate given T-SQL statements into another language. These T-SQL statements are using <code>DECLARE TABLE</code>. What's the difference between <code>DECLARE TABLE</code> and <code>CREATE TABLE</code>?</p>
  
  <p>For example, what’s the difference between the following two lines?</p>
  
  <pre><code>declare @t table (account_id varchar(512), num_events int);
  </code></pre>
  
  
  
  <pre><code>Create table t {account_id varchar(512), num_events int}
  </code></pre>