我用的Oci连接Oracle
#define OTL_ORA8I现在碰到一种情况,有的Oracle数据库连不上,据客户说,是版本很低的Oracle。 PLSQL都连不上
现在我有几个问题不懂,请指教:
1.Oracle的哪个版本以下,PLSQL连不上
2.Oracle的OCI连接,我看到otlv4.h中支持很多版本,但每一个版本定义的宏不一样。有没有通用的连接方式可以支持所有版本的?如果没有,我这种问题怎么处理比较好呢?
//======================= CONFIGURATION #DEFINEs ===========================// Uncomment the following line in order to include the OTL for ODBC:
//#define OTL_ODBC// Uncomment the following line in order to include the OTL for
// MySQL/MyODBC for MyODBC 2.5 (pretty old). Otherwise, use OTL_ODBC
//#define OTL_ODBC_MYSQL// Uncomment the following line in order to include the OTL for DB2 CLI:
//#define OTL_DB2_CLI// Uncomment the following line in order to include the OTL for
// Oracle 7:
//#define OTL_ORA7// Uncomment the following line in order to include the OTL for
// Oracle 8:
//#define OTL_ORA8// Uncomment the following line in order to include the OTL for
// Oracle 8i:
//#define OTL_ORA8I// Uncomment the following line in order to include the OTL for
// Oracle 9i:
//#define OTL_ORA9I// Uncomment the following line in order to include the OTL for
// Oracle 10g Release 1:
//#define OTL_ORA10G// Uncomment the following line in order to include the OTL for
// Oracle 10g Release 2:
//#define OTL_ORA10G_R2// Uncomment the following line in order to include the OTL for
// Oracle 11g Release 1
//#define OTL_ORA11G
// The macro definitions may be also turned on via C++ compiler command line
// option, e.g.: -DOTL_ODBC, -DOTL_ORA7, -DOTL_ORA8, -DOTL_ORA8I, -DOTL_ODBC_UNIX
// -DOTL_ODBC_MYSQL, -DOTL_DB2_CLI
#define OTL_ORA8I现在碰到一种情况,有的Oracle数据库连不上,据客户说,是版本很低的Oracle。 PLSQL都连不上
现在我有几个问题不懂,请指教:
1.Oracle的哪个版本以下,PLSQL连不上
2.Oracle的OCI连接,我看到otlv4.h中支持很多版本,但每一个版本定义的宏不一样。有没有通用的连接方式可以支持所有版本的?如果没有,我这种问题怎么处理比较好呢?
//======================= CONFIGURATION #DEFINEs ===========================// Uncomment the following line in order to include the OTL for ODBC:
//#define OTL_ODBC// Uncomment the following line in order to include the OTL for
// MySQL/MyODBC for MyODBC 2.5 (pretty old). Otherwise, use OTL_ODBC
//#define OTL_ODBC_MYSQL// Uncomment the following line in order to include the OTL for DB2 CLI:
//#define OTL_DB2_CLI// Uncomment the following line in order to include the OTL for
// Oracle 7:
//#define OTL_ORA7// Uncomment the following line in order to include the OTL for
// Oracle 8:
//#define OTL_ORA8// Uncomment the following line in order to include the OTL for
// Oracle 8i:
//#define OTL_ORA8I// Uncomment the following line in order to include the OTL for
// Oracle 9i:
//#define OTL_ORA9I// Uncomment the following line in order to include the OTL for
// Oracle 10g Release 1:
//#define OTL_ORA10G// Uncomment the following line in order to include the OTL for
// Oracle 10g Release 2:
//#define OTL_ORA10G_R2// Uncomment the following line in order to include the OTL for
// Oracle 11g Release 1
//#define OTL_ORA11G
// The macro definitions may be also turned on via C++ compiler command line
// option, e.g.: -DOTL_ODBC, -DOTL_ORA7, -DOTL_ORA8, -DOTL_ORA8I, -DOTL_ODBC_UNIX
// -DOTL_ODBC_MYSQL, -DOTL_DB2_CLI
这里有你想要的
配置我会,其他的Oracle库都可以连上,客户说的是一个Oracle8的连不上
配置我会,其他的Oracle库都可以连上,客户说的是一个Oracle8的连不上PLSQL Developer并不支持Oracle 64位客户端连接,你可以确认一下