I'm having a problem caused by what I think is a false result.

I have cfield1 that has values up to "201200478"

When I run the following query:

SELECT MAX(cField1) as TopVal FROM claims WHERE claimno like '2013%'

I expect to get a null result, as no cfield1 starts with '2013'.

Instead, I get '201200478'

What am I missing?

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to