[cx-oracle-users] How do you use Aliases?
Brought to you by:
atuining
|
From: Jay <ja...@sc...> - 2015-06-09 21:17:14
|
Trying to use an alias with cx_Oracle and nothing I'm trying seems to work:
cursor.execute('SELECT EMPLID "UID" FROM TABLE WHERE EMPLID=:emplid',
{'emplid':'123456'}):
fails with:
cx_Oracle.DatabaseError: ORA-00923: FROM keyword not found where expected
I've tried every way I can find on the internets to quote/insert that
Alias, but nothing seems to work. All I'm trying to do is alias EMPLID as
UID.
Is this just something that can't be done with this driver?? or Python? or??
-= Jay =-
|