RE: Resp: [SQL] Concatenation in selects

From: "Jackson, DeJuan" <djackson(at)cpsgroup(dot)com>
To: Fidelis Assis <fidelis(at)embratel(dot)com(dot)br>, owner-pgsql-sql(at)hub(dot)org, pgsql-sql(at)postgreSQL(dot)org
Subject: RE: Resp: [SQL] Concatenation in selects
Date: 1998-09-03 18:45:54
Message-ID: F10BB1FAF801D111829B0060971D839F3E2D33@cpsmail
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Leslie Mikesell 1998-09-03 19:33:12 Re: [SQL] Concatenation in selects
Previous Message Jackson, DeJuan 1998-09-03 18:29:28 RE: [SQL] rename table - primary key index?