[摘要]
sqlserver 查询分析器里面执行即可 DECLARE curItems CURSOR FOR select [name] from sysobjects where xtype='U' FOR READ ONLY OPEN curItems DECLARE @n NVARCHAR(100),@m NVARCHAR(100)...[全文]
[摘要]
说明:复制表(只复制结构,源表名:a 新表名:b) SQL: select * into b from a where 1<>1 说明:拷贝表(拷贝数据,源表名:a 目标表名:b) SQL: insert into b(a, b, c) select d,e,f from a;...[全文]