龍巖易富通網絡科技有限公司
龍巖小程序開發,龍巖分銷系統
-復制結構+數據 select * into 數據庫名.dbo.新表名 from 數據庫名.dbo.原表名 --只復制結構 select * into 數據庫名.dbo.新表名 from 數據庫名.dbo.原表名 where 1=0 --復制到臨時表 select * into #temptablename from 數據庫名.dbo.原表名 where 1=0 --后面的where 1=0 只要不成立就行了,管它是1=2,還是1000=1001...
閩ICP備11017913號-1 | Copyright © 2008-2016, 龍巖市易富通網絡科技有限公司 , All Rights Reserved.
發表評論