How to retrieve metadata of prepared statement parameter using OCI calls - TechRepublic
Question
November 9, 2009 at 07:10 AM
ftil555

How to retrieve metadata of prepared statement parameter using OCI calls

by ftil555 . Updated 16 years, 7 months ago

Hi All,
I am using Oracle 10g release2.
To execute Insert statement function OCIStmtPrepare() is used.
e.g “INSERT INTO BulkInsertTable(IndexName) VALUES(:M)”.
Now, I want to get the metadata(say its datatype, length, etc) of place holder :M programatically. Is there any such method in OCI? Can OCIParamGet() function be of any help for the above said problem.
Need help to proceed further.

Thanks and regards
ftil555

This discussion is locked

All Comments