Hi,
I am new to both Oracle and C++, so this many be a simple problem, but I would appreciate your help with it!
I am using the basic code found at:
However that I need to do is insert data into one table, retrieve that tables autonumber field (I was going to use <sequence>.currval) and return it via an Oracle function. I have been able to call my oracle function via a small test script in SQL*Plus, but when I am not sure how to call it from with in my C++ code. I have sucessfully been able to call normal oracle procedures, but when I use the name of a function, the ODBC link reports back saying unknown procedure.
Any hints?!
Cheers,
Matt
I am new to both Oracle and C++, so this many be a simple problem, but I would appreciate your help with it!
I am using the basic code found at:
However that I need to do is insert data into one table, retrieve that tables autonumber field (I was going to use <sequence>.currval) and return it via an Oracle function. I have been able to call my oracle function via a small test script in SQL*Plus, but when I am not sure how to call it from with in my C++ code. I have sucessfully been able to call normal oracle procedures, but when I use the name of a function, the ODBC link reports back saying unknown procedure.
Any hints?!
Cheers,
Matt