Database connection using C++/VC++

Poonamol's Avatar
Go4Expert Member

I need sample application for DataBase connection with below operations,
1] Connect to DB
2] Get data from EMP table
3] Set data for EMP table

Could you please help me out.
xpi0t0s's Avatar, Join Date: Aug 2004
$ORACLE_HOME/demo/rdbms/cdemo1.c does exactly what you want.
If it's not present you can install it from the Companion disk (10g) or Examples disk (11g).