creating new clobs in DCOracle2

Daniel dl_un-spam_rubin at yahoo.com
Tue Apr 8 18:51:22 EDT 2003


I'm using DCOracle2 to access oracle and want to insert data into a clob
column.  The DCOracle2 docs say that you need to first insert an empty clob
using EMPTY_CLOB() and then query the table to grab it, and finally, write
to it using the write method.
 In JDBC you can do this:

tempClob = CLOB.createTemporary(conn, true, CLOB.DURATION_SESSION);

and then you can write data into the tempClob, and then insert that into the
table. Can't you do something like this in DCOracle2?

Thanks,
Daniel






More information about the Python-list mailing list