OCILIB: Get Index of a Bind variable #280
Answered
by
vrogier
aravindsreeram062
asked this question in
Q&A
-
I'm writing a C code to get index of a variable using
but its returning always 0 as index. could anyone help me how to fetch the correct index using bind variable
The index is 0 always. |
Beta Was this translation helpful? Give feedback.
Answered by
vrogier
Aug 6, 2021
Replies: 1 comment 1 reply
-
Hi, You need to pass to OCI_GetBindIndex() the same bind name used with OCI_Bindxxx(), e.g. ":l_result" and ":l_emp_id". Regards, Vincent |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
aravindsreeram062
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
You need to pass to OCI_GetBindIndex() the same bind name used with OCI_Bindxxx(), e.g. ":l_result" and ":l_emp_id".
Regards,
Vincent