From: Bart Degryse <Bart.Degryse@indicator.be>
To: pgsql-sql@postgresql.org
Subject: Field Alias Alternative
Date: Tue, 29 Apr 2008 09:20:35 +0200
Message-ID: <4816E863.A3DD.0030.0@indicator.be> (raw)
Is there another way to quote a field alias (containing spaces) than with double quotes?
This works:
SELECT actions.addresstypes.addresstype AS "Address Type" FROM actions.addresstypes
I would like something like this
SELECT actions.addresstypes.addresstype AS [Address Type] FROM actions.addresstypes
Is that possible?
Thanks for any ideas.
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: Bart.Degryse@indicator.be
Subject: Re: Field Alias Alternative
In-Reply-To: <4816E863.A3DD.0030.0@indicator.be>
* 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