(编辑:jimmy 日期: 2024/12/26 浏览:2)
exec sp_executesql N'select @value=姓名 from people where 人员编号=''0001''',N'@value varchar(50) output',@name output
select @name