1. oracle instant client安装
主要参考 Oracle Instant Client ,借鉴 [1] [2]
makefile 中加入-I $(ORALCE_HOME)/include -L $(ORACLE_HOME)/lib -locci -lclntsh
2. oracle c++ api使用:
3. Oracle Instant client 官方网站和文档
4. 注意一下: NLS_LANG的设置
注: linux 终端登入oracle数据库, sqlplus username/password@//dbhost:1521/SID