sql临时表的创建

2015-07-24 10:25:31 · 作者: · 浏览: 3
create table #simple /*只对当前用户有效,其他用户无法使用,断掉连接后立即销毁该表*/
(
id int not null
)


select * from #simple


create table ##simple /*对任何前用户有效,断掉连接后立即销毁该表*/
(
id int not null
)


select * from ##simple

?