on 2013 Jul 18 10:21 AM
I executed the below mention query ,
select * from ABCD where DATETIME_ID >= '2013-07-16 20:30' and DATETIME_ID < '2013-07-16 21:00' and AAT = '2' and EVENT_NUMBER = '2' and VENDOR = 'Airtel' and HIERARCHY_3 = 'TE0040962' and HIERARCHY_1 = 'TE0040962-C' and CAUSE_CODE = '12' and SUBCAUSE_CODE = '107'
it is throwing a error as " "[Error Code: 21, SQL State: QFA13] SQL Anywhere Error -1001013: Invalid data type comparison in predicate (rawview.CAUSE_CODE = '12')""
the data type of "CAUSE_CODE" and "SUBCAUSE_CODE" are "smallint"
can anyone have any idea why the above error is coming ?
Thanks in advance. Sam
Request clarification before answering.
Try this: CONVERSION_MODE option
...I confess, I didn't read very far, my head exploded 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
47 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.