料青山看我应如是
请采用以下语句的模式,试一试:12345678 declare @a varchar(50) declare @b bigint set @sql ='update table set a=@a where b=@b'; set @a ='testInfo' set @b =1090 exec sp_executesql @sql,N'@a varchar(50) ,@b bigint ',@a=@a,@b=@b