更新时间:2023-12-02 21:17:28
你好
尝试像这样的例子
hello
try like this example
declare @TableVar table (
NewPK int identity(1,1),
CustomerID nchar(5) NOT NULL )
Insert Into @TableVar (CustomerID)
Select CustomerID
From Customers
Select Top 5 *
from @TableVar
您已经声明了表,但未指定该表的列.
谢谢
sanjeev.
you have declared the table but not specify the column to that.
thanks
sanjeev.