Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do I check if ociexecute("insert into.."); went ok or not?

584288Jul 19 2007 — edited Jul 20 2007
Hi,

I'm using ociexecute() to run an Insert Into statement to put a new record into a given table.
I'd like to know how can I test if the insert into was successfully done, or something went wrong, like constraints violation, table not found... (I'm building a xmlrpc server api for the user to send me table_name, table_fields and table_values).
An example would be appreciated.

Thanks in advance.

Fernando Libio.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 17 2007
Added on Jul 19 2007
2 comments
3,483 views