db.cpp
来自「在动态库中实现异步导出大数据量的oracle数据」· C++ 代码 · 共 25 行
CPP
25 行
#include "stdafx.h"
#define __OCICPP_INTERNAL_USE_
#include "db.h"
OCIEnv * OCICPP::db::envhp=(OCIEnv *)0;
//ub4 OCICPP::db::InitMode=0;
/*! \class OCICPP::db
\brief Interaction class with database(s)
*/
/*! \var void OCICPP::db::init(ub4 InitMode=OCI_DEFAULT)
Initialize the OCIC++ library
*/
/*! \var Connection *OCICPP::db::connect(const string &tnsname,const string &user,const string &password)
Connect to the database accessible throught the TNS-Alias \a tnsname. Connect
as \a user with the password \a password.
\return Connection-Instance associated to this database connection
*/
/*! \var void OCICPP::db::connect(const string &tnsname, const string &user,const string &password,Connection &con)
Connect to the database accessible throught the TNS-Alias \a tnsname. Connect
as \a user with the password \a password. The reference \a con is initialized
to represent this connection.
*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?