12 #ifndef ROOT_TOracleServer 13 #define ROOT_TOracleServer 17 #if !defined(__CINT__) 26 namespace oracle {
namespace occi {
36 oracle::occi::Environment *
fEnv;
37 oracle::occi::Connection *
fConn;
43 TOracleServer(
const char *db,
const char *uid,
const char *pw);
48 Bool_t Exec(
const char* sql);
52 Int_t SelectDataBase(
const char *dbname);
53 TSQLResult *GetDataBases(
const char *wild = 0);
54 TSQLResult *GetTables(
const char *dbname,
const char *wild = 0);
55 TList *GetTablesList(
const char* wild = 0);
57 TSQLResult *GetColumns(
const char *dbname,
const char *table,
const char *wild = 0);
59 Int_t CreateDataBase(
const char *dbname);
60 Int_t DropDataBase(
const char *dbname);
63 const char *ServerInfo();
69 static void SetDatimeFormat(
const char* fmt =
"MM/DD/YYYY, HH24:MI:SS");
70 static const char* GetDatimeFormat();
Bool_t HasStatement() const
oracle::occi::Environment * fEnv
#define ClassDef(name, id)
oracle::occi::Connection * fConn
Int_t GetMaxIdentifierLength()
static const char * fgDatimeFormat
Bool_t IsConnected() const