8000 How to get the Last Inserted Id from this lib? · vrogier ocilib · Discussion #357 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

How to get the Last Inserted Id from this lib? #357

Discussion options

You must be logged in to vote

Hi,

OCCI does not provide automatic retrieval of the last inserted ID.

For that you must use a returning into clause that is also supported by OCILIB.

See OCILIB documentation:
https://vrogier.github.io/ocilib/doc/html/group___ocilib_c_api_feature_returning_into.html

C Demo sample :
https://github.com/vrogier/ocilib/blob/master/demo/returning.c

C++ Demo sample :
https://github.com/vrogier/ocilib/blob/master/demo/returning.cpp

Regards,

Vincent

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by ranganathanrajeshkumar
Comment options

You must be logged in to vote
3 replies
@ranganathanrajeshkumar
Comment options

@vrogier
Comment options

@ranganathanrajeshkumar
Comment options

Comment options

You must be logged in to vote
1 reply
@ranganathanrajeshkumar
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0