问题
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