sql server生成临时表的快捷方法

来源:互联网 发布:淘宝社区首页 编辑:程序博客网 时间:2024/05/21 19:34
select * into #tmpTable From Table1 where 1 = 2

where条件不成立,所以没有查询结果返回,也因此,#tmpTable临时表只有表结构,没有数据。
0 0