SQL Server 2000: Invalid operator for data type. Operator equals add, type equals ntext

六月ゝ 毕业季﹏ 提交于 2019-12-14 03:28:21

问题


I have a stored procedure which gets Ntext parameters. Inside the stored procedure, I have a varchar variable and I set this varchar variable by concatenating few strings.

I get the following error at this point, while compiling.

Invalid operator for data type. Operator equals add, type equals ntext.

Can someone help?


回答1:


I made a careless Mistake. I was actually concatenation my varchar variable with the ntext variable. As Ntext concatenation is not allowed, I got stuck.



来源:https://stackoverflow.com/questions/11367431/sql-server-2000-invalid-operator-for-data-type-operator-equals-add-type-equal

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!