设为首页 加入收藏

TOP

sql临时表的创建
2015-07-24 10:25:31 来源: 作者: 【 】 浏览:0
Tags:sql 临时 创建
create table #simple /*只对当前用户有效,其他用户无法使用,断掉连接后立即销毁该表*/
(
id int not null
)


select * from #simple


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


select * from ##simple

?

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇GROUPBY外移,提高SQL运行速度 下一篇postgreSQL dropdb时连接未关闭

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·Python爬虫教程(从 (2025-12-26 16:49:14)
·【全269集】B站最详 (2025-12-26 16:49:11)
·Python爬虫详解:原 (2025-12-26 16:49:09)
·Spring Boot Java: (2025-12-26 16:20:19)
·Spring BootでHello (2025-12-26 16:20:15)