Von C/C++ auf PL/SQL Funktion

dvg

Grünschnabel
Hallo!

Ich möchte von C++ (MFC) auf eine PL/SQL Funktion in Oracle zugreifen, die mir dann einen Wert zurückgibt.

Hat jemand eine Ahnung wie das funktionieren könnte?

Danke.
 
Hallo!

Wie wärs denn damit:

http://www.codeguru.com/Cpp/data/mfc_database/oracle/article.php/c4305/

Executing PL/SQL blocks
One of the powerful features of an Oracle database is PL/SQL. By using OraLib, you can execute PL/SQL blocks, pass input parameters, and receive output parameters. Output parameters can even be resultsets (cursor in Oracle docs). The following example will execute two SQL select statements and fetch rows by using cursor-named variables:

Gruß Tom
 

Neue Beiträge

Zurück