摘要: 1:删除CREATE PROCEDURE Sp_deletedatabyCondition @tablename nvarchar(100), @condition nvarchar(200) ASBEGIN DECLARE @Sql nvarchar(500) SET @Sql='delete from '+@tablename+ ' where '+@condition EXEC(@Sql)ENDGO2:查询CREATE PROCEDURE SP_getColumnsByCondition @tablename nvarchar(100), @columns 阅读全文
posted @ 2011-08-21 18:04 放哨De老鼠 阅读(371) 评论(0) 推荐(0) 编辑