pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jackson, DeJuan <djackson@cpsgroup.com>
To: Fidelis Assis <fidelis@embratel.com.br>
To: owner-pgsql-sql@hub.org
To: pgsql-sql@postgreSQL.org
Subject: RE: Resp: [SQL] Concatenation in selects
Date: Thu, 3 Sep 1998 13:45:54 -0500
Message-ID: <F10BB1FAF801D111829B0060971D839F3E2D33@cpsmail> (raw)


>  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



view thread (2+ messages)

Message-ID: <F10BB1FAF801D111829B0060971D839F3E2D33@cpsmail>
Permalink:  ../F10BB1FAF801D111829B0060971D839F3E2D33@cpsmail/
Also on:    postgresql.org/message-id/F10BB1FAF801D111829B0060971D839F3E2D33@cpsmail

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: djackson@cpsgroup.com, fidelis@embratel.com.br, owner-pgsql-sql@hub.org
  Subject: Re: Resp: [SQL] Concatenation in selects
  In-Reply-To: <F10BB1FAF801D111829B0060971D839F3E2D33@cpsmail>
  References: <F10BB1FAF801D111829B0060971D839F3E2D33@cpsmail>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox