获取动态TSQL语句返回值
摘要:
DECLARE @Sql nVarchar(4000) Declare @Total int SET @Sql=N'SELECT @Total=Count(*) FROM PE_CommonModel' Exec sp_executesql @Sql, N'@Total Int Out',@Total Out Print @Total 阅读全文
posted @ 2008-02-01 15:26 遗忘海岸 阅读(389) 评论(0) 推荐(0) 编辑