I need to take a CLOB out of Oracle and stuff it into a Tcl variable.
To my surprise, it looks like the
<a href="http://www.arsdigita.com/free-tools/oracle-driver">Oracle
driver</a>
(release-2_6) does <em>not</em> provide a way to do this! It has
<code>ns_ora write_clob</code> for writing a clob directly to the
connection, and <code>clob_get_file</code> to write to a file - but
that's it.
To my surprise, it looks like the
<a href="http://www.arsdigita.com/free-tools/oracle-driver">Oracle
driver</a>
(release-2_6) does <em>not</em> provide a way to do this! It has
<code>ns_ora write_clob</code> for writing a clob directly to the
connection, and <code>clob_get_file</code> to write to a file - but
that's it.
<p>
The Postgres driver (v. 2.0.1, postgres.c rev. 1.32) on the other
hand, has <code>ns_pg blob_get</code>, which "returns the value of the
blob to the Tcl caller".
<p>
So before I go and start hacking my Oracle driver, is this really
true? I didn't just miss it, did I? It seems odd that no one else
would have had this problem before...
Request notifications