Hi,
I am using Oracle 9i & Python.
The interface is cx_Oracle4.3
I was tryingto fire the following query using this interface: -
cursor.execute( """describe employee""")
& got error CHECK YOUR SQL SYNTAX. Although its working fine when i am firing it from SQL*Plus.
Isn't it support this query or I am missing something.
Btw I was using this query to get all the field names & field types.
I got field names using cursor.descript ion command, but it is converting the field type into some other names like VARCHAR2--->STRING.
Kindly guide me.
Thanks & Regards,
Piyush.
I am using Oracle 9i & Python.
The interface is cx_Oracle4.3
I was tryingto fire the following query using this interface: -
cursor.execute( """describe employee""")
& got error CHECK YOUR SQL SYNTAX. Although its working fine when i am firing it from SQL*Plus.
Isn't it support this query or I am missing something.
Btw I was using this query to get all the field names & field types.
I got field names using cursor.descript ion command, but it is converting the field type into some other names like VARCHAR2--->STRING.
Kindly guide me.
Thanks & Regards,
Piyush.
Comment