This method may not be a bug but it does have undesirable results

If Field1 has a value of $10 and is iconv "md2" then it is 1000
If Field2 has a value of 1 and is iconv "md3" then it is 1000

If you query if field1 = field2 then the answer is yes 10 = 1

The inconsistency is that an SQL statement will identify them as different.

Regards

David Jordan
Managing Consultant
 
[EMAIL PROTECTED]

DACONO Holdings Pty Ltd
www.dacono.com.au
 
PO Box 909
Lane Cove
NSW 2066
Australia
 

>This is not a bug.

>When a field with a conversion is used in a WITH or WHEN clause to compare
>it with a constant, the query processor applies the conversion to the
>constant "in reverse" to form the internal value. The comparison is then
>done on this internal form value. Think about it for a while and you will
>find many places where no other technique would work.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to