摘要: IF Object_id('Tempdb..#dl') IS NOT NULLDROP TABLE #dl --如果有存在就删除临时表CREATE TABLE #dl (neirong char(20),icount int, dlzonjine int, dlshu int, dlyin int) --重建临时表INSERT INTO #dl SELECT * FROM tab1 --把物理表的数据插到临时表 阅读全文
posted @ 2012-05-10 11:22 dekevin 阅读(10057) 评论(0) 推荐(0)