From: Doug Thistlethwaite <doug.t@deltanet.com>
To: pgsql-sql <pgsql-sql@postgreSQL.org>
Subject: combining columns in select
Date: Sat, 02 Oct 1999 08:40:10 -0700
Message-ID: <37F62759.84F8E9DB@deltanet.com> (raw)
Hello,
I have a table used in a java application that I have been working fine
with ODBC & dbase that I want to move to pgsql. One of my select
statements is as follows
select lname + ', ' + fname as NAME from table ...
If I try to enter this into psql, I get an error. This same statement
works fine in the ODBC/dbase.
Why doesn't this work? Is there a work around so I can get columns of
concatenated text strings?
Thanks,
Doug
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: doug.t@deltanet.com
Subject: Re: combining columns in select
In-Reply-To: <37F62759.84F8E9DB@deltanet.com>
References: <37F62759.84F8E9DB@deltanet.com>
* 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