title: TSQL Declare a variable in tsql without defining columns explicitly
body: <p>is it possible to declare a variable in tsql without defining columns explicitly ?</p>
  
  <p>Something like </p>
  
  <pre><code>declare @tab as select * from myTable
  </code></pre>