sqlserver the name is not a valid identifier error in function

Posted dawenyang

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sqlserver the name is not a valid identifier error in function相关的知识,希望对你有一定的参考价值。

参考资料:https://stackoverflow.com/questions/22008859/the-name-is-not-a-valid-identifier-error-in-function

执行存储过程中sql字符串:

SET @Name = select UserName from [ + @dbName + ].dbo.Users where UserID= + CONVERT(VARCHAR, @UserID)  
exec(@Name)

 

以上是关于sqlserver the name is not a valid identifier error in function的主要内容,如果未能解决你的问题,请参考以下文章

Logstash连接sqlserver: The server selected protocol version TLS10 is not accepted by client preference

Logstash连接sqlserver: The server selected protocol version TLS10 is not accepted by client preference

Logstash连接sqlserver: The server selected protocol version TLS10 is not accepted by client preference

sqlserver2014连接JAVA: The server selected protocol version TLS10 is not accepted by client preference

解决阿里云OSS The requested bucket name is not available的办法

关于异常“The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine”的处理