Re: SQL92 compliance - Mailing list pgsql-sql

From Michael Glaesemann
Subject Re: SQL92 compliance
Date
Msg-id A7421249-2D3B-4AE2-AB53-A23C6C678026@seespotcode.net
Whole thread Raw
In response to SQL92 compliance  (Daniel CAUNE <d.caune@free.fr>)
List pgsql-sql
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





pgsql-sql by date:

Previous
From: chrisj
Date:
Subject: error with mor than 1 sub-select
Next
From: Michael Fuhr
Date:
Subject: Re: error with mor than 1 sub-select