|
<<SNIP>>
Note:
One other thing I forgot to mention in my case is that I need to
pick FieldName based on a LIKE ends with condition (like '%ield1'),
not an equal condition the way Eric showed me. <<SNIP>> I just
changed the CASE statement to a LIKE and got what I needed. <<SNIP>>
Here's a real world example of how it currently looks in testing:
select FFORMID,
char(max(Case when FFIELDNAM like '%Fld1'
then trim(ffieldval) end),30) as fld1
<<SNIP>>
group by fformid
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.