|
Portion of SQL statement:
CASE C.ASTOCK WHEN 'N' THEN 'No' WHEN 'Y' THEN 'Yes' END,
CASE C.AFUEL WHEN 'N' THEN 'No' WHEN 'Y' THEN 'Yes' END,
That syntax is foreign to me. I like it (a lot) and it may be valid, but
what I'm used to is:
CASE
WHEN C.ASTOCK = 'N' then 'No'
WHEN C.ASTOCK = 'Y' then 'Yes'
ELSE C.ASTOCK end,
What OS are you using?
Only thing I can think of other than syntax is unprintables after the N or
Y, maybe?
Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"If I'd known I was going to live so long, I'd have taken better care of
myself."
-- Leon Eldred
As an Amazon Associate we earn from qualifying purchases.
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.