在JAVA中,将一个已经有数据的临时表数据写入到没建立的新的临时表中.
这样的语句:select * into #temp1 from #temp2这样的语句不能执行
要写成以下形式:set nocount on select * into #temp1 from #temp2
还有,临时表的操作要在同一个连接下进行,不同的连接是看不了对方所建立的临时表
这样的语句:select * into #temp1 from #temp2这样的语句不能执行
要写成以下形式:set nocount on select * into #temp1 from #temp2
还有,临时表的操作要在同一个连接下进行,不同的连接是看不了对方所建立的临时表