Subject | Re: [firebird-support] SQL specifics |
---|---|
Author | Magnus Titho |
Post date | 2005-08-25T15:21:34Z |
Clay Shannon wrote:
A.REFERRAL_DATE, A.ADMIT_DATE, A.DISCHARGE_DATE, A.CLOSE_DATE,
C.LASTNAME || ', ' || C.FIRSTNAME || COALESCE(' ' || C.MIDDLENAME, '') AS NAME,
C.CLIENT_STATE
FROM
...
--
Magnus
>What need I do to only return records with first and last names, but to alsoSELECT
>display the middle name when there IS a middle name?
>
>
>
A.REFERRAL_DATE, A.ADMIT_DATE, A.DISCHARGE_DATE, A.CLOSE_DATE,
C.LASTNAME || ', ' || C.FIRSTNAME || COALESCE(' ' || C.MIDDLENAME, '') AS NAME,
C.CLIENT_STATE
FROM
...
--
Magnus