Permalink
..
Failed to load latest commit information.
sql Add support (as preview) for SODA. Sep 10, 2018
tutorial Emphasize the file location. Sep 13, 2018
AdvancedQueuing.py Use cx_Oracle.connect() in preference to cx_Oracle.Connection() in sa… Sep 21, 2018
AdvancedQueuingNotification.py Use cx_Oracle.connect() in preference to cx_Oracle.Connection() in sa… Sep 21, 2018
AppContext.py Use cx_Oracle.connect() in preference to cx_Oracle.Connection() in sa… Sep 21, 2018
ArrayDMLRowCounts.py Use cx_Oracle.connect() in preference to cx_Oracle.Connection() in sa… Sep 21, 2018
BatchErrors.py Adjust copyright notices to match requirements of Oracle Legal. Sep 10, 2018
BindInsert.py Adjust copyright notices to match requirements of Oracle Legal. Sep 10, 2018
BindQuery.py Adjust copyright notices to match requirements of Oracle Legal. Sep 10, 2018
CQN.py Use cx_Oracle.connect() in preference to cx_Oracle.Connection() in sa… Sep 21, 2018
DMLReturningMultipleRows.py Use cx_Oracle.connect() in preference to cx_Oracle.Connection() in sa… Sep 21, 2018
DRCP.py Use cx_Oracle.connect() in preference to cx_Oracle.Connection() in sa… Sep 21, 2018
DatabaseChangeNotification.py Use cx_Oracle.connect() in preference to cx_Oracle.Connection() in sa… Sep 21, 2018
DatabaseShutdown.py Adjust copyright notices to match requirements of Oracle Legal. Sep 10, 2018
DatabaseStartup.py Adjust copyright notices to match requirements of Oracle Legal. Sep 10, 2018
Editioning.py Use cx_Oracle.connect() in preference to cx_Oracle.Connection() in sa… Sep 21, 2018
GenericRowFactory.py Adjust copyright notices to match requirements of Oracle Legal. Sep 10, 2018
ImplicitResults.py Adjust copyright notices to match requirements of Oracle Legal. Sep 10, 2018
InsertGeometry.py Use cx_Oracle.connect() in preference to cx_Oracle.Connection() in sa… Sep 21, 2018
PLSQLCollection.py Added code to display new support in cx_Oracle 7 for retrieving a col… Oct 18, 2018
PLSQLFunction.py Adjust copyright notices to match requirements of Oracle Legal. Sep 10, 2018
PLSQLProcedure.py Adjust copyright notices to match requirements of Oracle Legal. Sep 10, 2018
PLSQLRecord.py Adjust copyright notices to match requirements of Oracle Legal. Sep 10, 2018
Query.py Adjust copyright notices to match requirements of Oracle Legal. Sep 10, 2018
QueryArraysize.py Adjust copyright notices to match requirements of Oracle Legal. Sep 10, 2018
README.md Various improvements to installation documentation. Jan 30, 2018
RefCursor.py Use cx_Oracle.connect() in preference to cx_Oracle.Connection() in sa… Sep 21, 2018
ReturnLobsAsStrings.py Use cx_Oracle.connect() in preference to cx_Oracle.Connection() in sa… Sep 21, 2018
ReturnNumbersAsDecimals.py Use cx_Oracle.connect() in preference to cx_Oracle.Connection() in sa… Sep 21, 2018
ReturnUnicode.py Use cx_Oracle.connect() in preference to cx_Oracle.Connection() in sa… Sep 21, 2018
RowsAsInstance.py Use cx_Oracle.connect() in preference to cx_Oracle.Connection() in sa… Sep 21, 2018
SampleEnv.py Adjust copyright notices to match requirements of Oracle Legal. Sep 10, 2018
ScrollableCursors.py Adjust copyright notices to match requirements of Oracle Legal. Sep 10, 2018
SodaBasic.py Use cx_Oracle.connect() in preference to cx_Oracle.Connection() in sa… Sep 21, 2018
SpatialToGeoPandas.py Use cx_Oracle.connect() in preference to cx_Oracle.Connection() in sa… Sep 21, 2018
Subclassing.py Adjust copyright notices to match requirements of Oracle Legal. Sep 10, 2018
Threads.py Adjust copyright notices to match requirements of Oracle Legal. Sep 10, 2018
TransactionGuard.py Adjust copyright notices to match requirements of Oracle Legal. Sep 10, 2018
TypeHandlers.py Adjust copyright notices to match requirements of Oracle Legal. Sep 10, 2018
UniversalRowids.py Use cx_Oracle.connect() in preference to cx_Oracle.Connection() in sa… Sep 21, 2018

README.md

This directory contains samples for cx_Oracle.

  1. The schemas and SQL objects that are referenced in the samples can be created by running the SQL script sql/SetupSamples.sql. The syntax is:

     sqlplus / as sysdba @sql/SetupSamples.sql
    

    The script will create users pythondemo and pythoneditions and will create an edition called python_e1.

    If you wish to change the names of the users or the name of the edition you can edit the file sql/SampleEnv.sql. You will also need to edit the file SampleEnv.py or set environment variables as documented in it.

  2. Run a Python script, for example:

     python Query.py
    
  3. After running cx_Oracle samples, the schemas and SQL objects can be dropped by running the SQL script sql/DropSamples.sql. The syntax is

     sqlplus / as sysdba @sql/DropSamples.sql