From: Michael Glaesemann <grzm@seespotcode.net>
To: Daniel CAUNE <d.caune@free.fr>
Cc: pgsql-sql@postgresql.org
Subject: Re: SQL92 compliance
Date: Wed, 23 Aug 2006 10:54:38 +0900
Message-ID: <A7421249-2D3B-4AE2-AB53-A23C6C678026@seespotcode.net> (raw)
In-Reply-To: <000301c6c655$0e3a0100$0b00a8c0@tedy>
References: <000301c6c655$0e3a0100$0b00a8c0@tedy>
On Aug 23, 2006, at 10:40 , Daniel CAUNE wrote:
> Hi,
>
> Is AS in "SELECT my_column AS my_name FROM my_table" mandatory to
> be SQL92
> compliant?
You can find this in the documentation:
http://www.postgresql.org/docs/8.1/interactive/sql-select.html#AEN48391> The AS Key Word
>
> In the SQL standard, the optional key word AS is just noise and can
> be omitted without affecting the meaning. The PostgreSQL parser
> requires this key word when renaming output columns because the
> type extensibility features lead to parsing ambiguities without it.
> AS is optional in FROM items, however.
Hope this helps.
Michael Glaesemann
grzm seespotcode net
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: grzm@seespotcode.net, d.caune@free.fr
Subject: Re: SQL92 compliance
In-Reply-To: <A7421249-2D3B-4AE2-AB53-A23C6C678026@seespotcode.net>
* 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