From: Daniel CAUNE <d.caune@free.fr>
To: pgsql-sql@postgresql.org
Subject: SQL92 compliance
Date: Tue, 22 Aug 2006 21:40:03 -0400
Message-ID: <000301c6c655$0e3a0100$0b00a8c0@tedy> (raw)
Hi,
Is AS in "SELECT my_column AS my_name FROM my_table" mandatory to be SQL92
compliant?
PostgreSQL requires this keyword by default when defining alias, which might
be good thing. I mean, I would prefer being notified from a syntax error
than spending a couple of hours wondering why a client application, at the
end of a several data marshalling processes, doesn't get the right data...
For instance MySQL doesn't require it and sometimes that sucks:
SELECT my_column1
my_column2,
my_column3
FROM my_table
Regards,
--
Daniel
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: d.caune@free.fr
Subject: Re: SQL92 compliance
In-Reply-To: <000301c6c655$0e3a0100$0b00a8c0@tedy>
* 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