if exists(select from tempdb..sysobjects where id=object_id('tempdb..#temp')) drop table #temp 临时表 可以创建本地和全局临时表。本地临时表仅在当前会话中可见;全局临时表在所有会话中都可见。 本地 if exists(select from tempdb..sysobjects where id=
目录 MySQL select into临时表 select into 临时表 create 临时表 mysql临时表(可以将查询结果存在临时表中) 创建临时表可以将查询结果寄存 mysql把select结果保存为临时表,有2种方法 MySQL selec 目录MySQL select into临时表select into 临时表create 临时表mysql临时表(可以将查询结果存在临时表中)创