摘要:
create proc spGenInsertSQL@TableName as varchar(100)as--declare @TableName varchar(100)--set @TableName = 'orders'--set @TableName = 'eeducation'DECLARE xCursor CURSOR FORSELECT name,xusertypeFROM syscolumnsWHERE (id = OBJECT_ID(@TableName))declare @F1 varchar(100)declare @F2 integer 阅读全文