|
|||||||||||
|
[GENERAL] Mandatory AS keyword in SELECT statements
From: <vincent.moreau(at)adeoservices.com>
Date: Mon Dec 31 2007 - 09:45:57 EST
We are currently trying to migrate an Oracle database to PostgreSQL. Unfortunately, the Java application that access the database does not use the AS keyword to alias column names in select statements. Thus, the following statement "SELECT col1 alias1 FROM any_table" fails.
AFAIK, AS is optional according to SQL Standard.
Is there a way to workaround this behaviour, as it will be not possible
for us to modify the application ?
I apologize in advance if this question has already been submited, I was not able to find some threads discussing this point.
Thanks for your help,
Ce message et toutes les pièces jointes sont établis à l'attention exclusive de leurs destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d'en avertir immédiatement l'expéditeur. L'internet ne permettant pas d'assurer l'intégrité de ce message, le contenu de ce message ne représente en aucun cas un engagement de la part de Adeo Services. ---------------------------(end of broadcast)---------------------------TIP 2: Don't 'kill -9' the postmaster Received on Fri Jan 4 09:26:09 2008 This archive was generated by hypermail 2.1.8 : Mon Jun 16 2008 - 23:12:23 EDT |
||||||||||
|
|||||||||||