經安全檢測,此網站為安全網站,請放心前往原始網址!

SQL Server SELECT INTO @variable? - Stack Overflow

You cannot SELECT .. INTO .. a TABLE VARIABLE. The best you can do is create it first, then insert into it. Your 2nd snippet has to be DECLARE @TempCustomer TABLE ( CustomerId uniqueidentifier, FirstName nvarchar(100), LastName nvarchar(100 ...

stackoverflow.com

網址安全性掃描由 google 提供