SQL调用自动生成Excel存储过程

2025-05-04 09:25:21
推荐回答(1个)
回答(1):

set @con='SELECT ID,[USER_NAME] AS 用户名 FROM UserDB.dbo.USERS where ID='''+ @name + ''''
试试呢