Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> How to get SQL from OCIStmt
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
![]() |
![]() |