摘要: declare @MyVar varchar(50) declare @MySQL nvarchar(50) select @MySQL = ' select @MyVar=''1'' ' exec sp_executesql @MySQL,N'@MyVar varchar(50) output',@MyVar output print @myvar 阅读全文
posted @ 2009-09-11 15:16 kuailewangzi1212 阅读(251) 评论(0) 推荐(0) 编辑