Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

SELECT * INTO @VarTable FROM SourceTable

$
0
0

Why cant i select into variable table, while same sleek expression with temp table (#) works fine?

So if i use var table (@) i have to build up all this ridiculously redundant construction with declaring table, field, type, then mapping it via insert into...

Or am i missing smth?)


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>