摘要: 如下存储过程可以实现将SQL Server中的数据导出到脚本setANSI_NULLSONsetQUOTED_IDENTIFIERONGOALTERproc[dbo].[proc_insert](@tablenamevarchar(256))asbeginsetnocountondeclare@sqlstrvarchar(4000)declare@sqlstr1varchar(4000)declare@sqlstr2varchar(4000)select@sqlstr='select''insert'+@tablenameselect@sqlstr1=' 阅读全文
posted @ 2011-02-27 20:33 TNTZWC 阅读(204) 评论(0) 推荐(0) 编辑