On 10/16/2017 11:16 AM, Mark Murphy wrote:
Except that sqlstate is not a numeric value so testing for < '02' will
include errors in classes like '0A' and '0E'.

Yes, that's exactly right. Thanks for pointing that out!

If I wanted to find a successful execution I would test >= '00' and < '02',
but generally I am looking for errors, so I tend to use < '00' or >= '02'.

+1

--buck


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.