kranser
Computer
- Dec 19, 2002
- 1
Hi
I'm having a problem with high ASCII values.
When I run the query:
select * from TAB1 where (FIELD1 >= '01' and FIELD2 > '¡')
where ¡ is ASCII 254 (or ASCII 65534, it doesn't matter which), I get all records in the table. I should get none, as FIELD2 never contains an ASCII value higher than 126!
It seems like the ¡ value is being intpreted as NULL.
Can anyone help me resolve this? The Database uses collation SQL_Latin1_General_CP1_CI_AS and Sort Order 52.
Thanks,
Kranser.
I'm having a problem with high ASCII values.
When I run the query:
select * from TAB1 where (FIELD1 >= '01' and FIELD2 > '¡')
where ¡ is ASCII 254 (or ASCII 65534, it doesn't matter which), I get all records in the table. I should get none, as FIELD2 never contains an ASCII value higher than 126!
It seems like the ¡ value is being intpreted as NULL.
Can anyone help me resolve this? The Database uses collation SQL_Latin1_General_CP1_CI_AS and Sort Order 52.
Thanks,
Kranser.