windows下的c/c++连接oracle
如题,怎么windows连接本地oracle,有事例性代码和操作步骤么?值做简单查询操作,不用mfc
------解决方案--------------------
参考demo\*.*:
Program Name Features Illustrated
cdemo81.c Using basic SQL processing with release 8 and later functionality.
cdemo82.c Performing basic processing of user-defined objects.
cdemocor.c Using complex object retrieval (COR) to improve performance.
cdemodr1.c,cdemodr2.c,cdemodr3.c Using INSERT/UPDATE/DELETE statements with RETURNING clause used with basic datatypes, LOBs and REFs.
cdemodsa.c Describing information about a table.
cdemodsc.c Describing information about an object type.
cdemofo.c Registering and operating application failover callbacks.
cdemolb.c Create and insert LOB data and then read, write, copy, append and trim the data.
cdemolb2.c Writing and reading of CLOB/BLOB columns with stream mode and callback functions.
cdemolbs.c Writing and reading to LOBs with the LOB buffering system.
cdemobj.c Pinning and navigation of REF object.
cdemorid.c Using INSERT, UPDATE, DELETE statements and fetches to get multiple rowids in one round-trip.
cdemoses.c Using session switching and migration.
cdemothr.c Using the OCIThread package.
cdemosyev.c Registering predefined subscriptions and specifying a callback function to be invoked for client notifications (for more information about Advanced Queuing, see Oracle Streams Advanced Queuing User’s Guide and Reference).
ociaqdemo00.c,ociaqdemo01.c,ociaqdemo02.c Advanced queuing.
cdemodp.c,cdemodp_lip.c Loading data with the direct path load functions.
cdemdpco.c Loading a column object with the direct path load functions.
cdemdpno.c Loading a nested column object with the direct path load functions.
cdemdpin.c Loading derived type (inheritance) - direct path.