当前位置: 代码迷 >> SQL >> sql临时表的创设
  详细解决方案

sql临时表的创设

热度:75   发布时间:2016-05-05 10:42:31.0
sql临时表的创建
create table #simple  /*只对当前用户有效,其他用户无法使用,断掉连接后立即销毁该表*/
(
id int not null
)


select * from #simple


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


select * from ##simple
  相关解决方案