RE: Resp: [SQL] Concatenation in selects - Mailing list pgsql-sql

From Jackson, DeJuan
Subject RE: Resp: [SQL] Concatenation in selects
Date
Msg-id F10BB1FAF801D111829B0060971D839F3E2D33@cpsmail
Whole thread Raw
In response to Resp: [SQL] Concatenation in selects  ("Fidelis Assis" <fidelis@embratel.com.br> (Tel +55 21 519 8408))
Responses Resp: RE: Resp: [SQL] Concatenation in selects  ("Fidelis Assis" <fidelis@embratel.com.br> (Tel +55 21 519 8408))
List pgsql-sql
>  select ltrim(first_name) || (' ' || ltrim(last_name)) as full_name
> from
> ...
>
> where "ltrim" is used only to convert both, first_time and
> last_time, to text. I wish I could convert among string types
> (bpchar, varchar and text) without any tricks, but it seems this
> is not implemented yet.
>
Ever tried the cast() function?
    -DEJ

pgsql-sql by date:

Previous
From: "Jackson, DeJuan"
Date:
Subject: RE: [SQL] rename table - primary key index?
Next
From: Leslie Mikesell
Date:
Subject: Re: [SQL] Concatenation in selects