2012年12月27日
摘要: 1)说明系统存储过程sp_MSforeachtable和sp_MSforeachdb,是微软提供的两个不公开的存储过程,从ms sql 6.5开始。存放在SQL Server的MASTER数据库中。2)参数说明:@command1 nvarchar(2000), --第一条运行的SQL指令@replacechar nchar(1) = N'?', --指定的占位符号@command2 nvarchar(2000)= null, --第二条运行的SQL指令@command3 nvarchar(2000)= null, --第三条运行的SQL指令@whereand nvarchar 阅读全文
posted @ 2012-12-27 14:22 Rain&Sun 阅读(247) 评论(0) 推荐(0) 编辑