sql暂时表的创建

create table #simple  /*仅仅对当前用户有效。其它用户无法使用,断掉连接后马上销毁该表*/
(
id int not null
)


select * from #simple


create table ##simple  /*对不论什么前用户有效。断掉连接后马上销毁该表*/
(
id int not null
)


select * from ##simple
posted @ 2017-06-16 16:45  cxchanpin  阅读(141)  评论(0编辑  收藏  举报