表变量的使用

来源:互联网 发布:ubuntu登录界面卡死 编辑:程序博客网 时间:2024/05/29 13:15

--表变量的使用

declare @x table(id nchar(36) primary key,a int ,b varchar(300))

insert into @x
select ID,a ,b from Table

select * from @x

0 0