标签:sql0401
错误信息:
The data types of the operands for the operation "=" are not compatible or comparable.
原因:
db2set设置了DB2_COMPATIBILITY_VECTOR=ORA, DB2_DEFERRED_PREPARE_SEMANTICS=YES.
解决方法:
1) Keep DB2_COMPATIBILITY_VECTOR=ORA and set
DB2_DEFERRED_PREPARE_SEMANTICS=NO (需重启实例)
2) reset DB2_COMPATIBILITY_VECTOR to NULL
标签:sql0401
原文地址:http://masaly.blog.51cto.com/9302075/1638958