exec sp_executesql N'select @value=姓名 from people where 人员编号=''0001''',N'@value varchar(50) output',@name output
(本文来源于图老师网站,更多请访问http://m.tulaoshi.com/bianchengyuyan/)select @name
(本文来源于图老师网站,更多请访问http://m.tulaoshi.com/bianchengyuyan/)exec sp_executesql N'select @value=姓名 from people where 人员编号=''0001''',N'@value varchar(50) output',@name output
(本文来源于图老师网站,更多请访问http://m.tulaoshi.com/bianchengyuyan/)select @name
(本文来源于图老师网站,更多请访问http://m.tulaoshi.com/bianchengyuyan/)