Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> How to get SQL from OCIStmt

How to get SQL from OCIStmt

From: Igor Sidorin <i_sidorin_at_hotmail.com>
Date: 9 Jan 2003 08:13:25 -0800
Message-ID: <1b3cae17.0301090813.15d7db48@posting.google.com>


Hi,

Does anyone know if there is a way in OCI to obtain the SQL statement string from an OCIStmt? For example, if I call OCIPrepareStmt(), and then bind the data, can I obtain the final SQL statement string from OCIStmt just before I call OCIStmtExecute()? What about the original string that was passed to OCIPrepareStmt() (before any bindings)? In other words, does anyone know what the structure of OCIStmt is?

Thanks!

Igor Received on Thu Jan 09 2003 - 10:13:25 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US