RE: [cx-oracle-users] Determinining version of cx_Oracle
Brought to you by:
atuining
|
From: Nik B. <Nik...@pe...> - 2005-04-18 08:28:14
|
Hi,
> I would like to know how to check the version of cx_Oracle. I am a
> rather new user to cx_Oracle and Python, so I am having a
> little trouble understanding some of the documentation that is out there
on
> cx_Oracle.
Nice and easy:
>>> import cx_Oracle
>>> cx_Oracle.version
'4.0'
>>>
You can also get the version of the database you've connected to:
>>> connectionObj = cx_Oracle.connect("user/password@database")
>>> connectionObj.version
'9.2.0.1.0'
>>>
Hope this helps!
Nik
|