Subject | Re: [ib-support] Umm, Concantenate varchar types |
---|---|
Author | Helen Borrie |
Post date | 2001-06-25T14:24:17Z |
At 09:17 AM 25-06-01 -0500, you wrote:
LAST_NAME || ', ' || FIRST_NAME AS FULL_NAME
Cheers,
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________
>How come this doesn't work?No, it is a Microsoft vendor-specific convention. Standard SQL uses the double-pipe || as the concatenator. Try it, you'll like it. <g>
>
>SELECT
> LAST_NAME + ', ' + FIRST_NAME AS FULL_NAME
>FROM
> SALESMAN
>
>The sql works from my paradox app but not when I convert it to Interbase and
>put the statement in an IBX query.
>
>Isn't that pretty standard SQL?
LAST_NAME || ', ' || FIRST_NAME AS FULL_NAME
Cheers,
Helen
All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________