摘要: if exists(select * from sysobjects where name='proc_insert') drop proc proc_insert go create proc proc_insert (@tablename varchar(256)) as begin set nocount on declare @sqlstr varchar(4000) declare @sqlstr1 varchar(4000) declare @sqlstr2 varchar(4000) select @sqlstr='select ''insert '+@tablename sel 阅读全文
posted @ 2010-12-15 10:01 星火卓越 阅读(270) 评论(0) 推荐(0) 编辑