sqlserver the name is not a valid identifier error in function
程序员文章站
2022-10-25 18:10:25
参考资料:https://*.com/questions/22008859/the-name-is-not-a-valid-identifier-error-in-function 执行存储过程中sql字符串: ......
参考资料:
执行存储过程中sql字符串:
set @name = 'select username from [' + @dbname + '].dbo.users where userid=' + convert(varchar, @userid) exec(@name)
上一篇: 曹昂如果不死,真的会是最佳继承人吗?
下一篇: 入职小白随笔之高通项目编译流程