Error 403

Severity

16

Message text

Invalid operator for datatype op: %s type: %s.

Explanation

This error occurs during Adaptive Server expression processing, when an operator in the query is applied to a datatype for which that operator is not valid. An operator is a logical or arithmetic expression such as “+” or “-”. For example:

1> select pub_id * pub_name from publishers
2> go

Msg 403, Level 16, State 2:
Line 1:
Invalid operator for datatype op: MULTIPLY type: CHAR.

Action

Correct your query and run it again.

Additional information

Refer to the Adaptive Server Enterprise reference manuals and the Transact-SQL User's Guide for information about the use of operators in queries.

Versions in which this error is raised

All versions