OCILIB (C and C++ Driver for Oracle)
4.7.5
Open source and cross platform Oracle Driver delivering efficient access to Oracle databases.
|
OcilibCApiFetching
OCILIB has a strong PL/SQL support :
Stored procedures/functions calls, blocks declarations are done like regular SQL calls using OCI_Prepare(), OCI_Execute(), OCI_ExecuteStmt() and OCI_ExecuteStmtFmt() functions.
All PL/SQL statements must:
Binding Host arrays to PL/SQL tables is done with OCI_BindArrayXXX() calls
Functions | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ServerEnableOutput (OCI_Connection *con, unsigned int bufsize, unsigned int arrsize, unsigned int lnsize) |
Enable the server output. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_ServerDisableOutput (OCI_Connection *con) |
Disable the server output. | |
OCI_SYM_PUBLIC const otext *OCI_API | OCI_ServerGetOutput (OCI_Connection *con) |
Retrieve one line of the server buffer. | |
OCI_SYM_PUBLIC boolean OCI_API OCI_ServerEnableOutput | ( | OCI_Connection * | con, |
unsigned int | bufsize, | ||
unsigned int | arrsize, | ||
unsigned int | lnsize | ||
) |
#include <api.h>
Enable the server output.
con | - Connection handle |
bufsize | - server buffer max size (server side) |
arrsize | - number of lines to retrieve per server round-trip |
lnsize | - maximum size of one line |
Referenced by ocilib::Connection::EnableServerOutput().
OCI_SYM_PUBLIC boolean OCI_API OCI_ServerDisableOutput | ( | OCI_Connection * | con | ) |
#include <api.h>
Disable the server output.
con | - Connection handle |
Referenced by ocilib::Connection::DisableServerOutput().
OCI_SYM_PUBLIC const otext *OCI_API OCI_ServerGetOutput | ( | OCI_Connection * | con | ) |
#include <api.h>
Retrieve one line of the server buffer.
con | - Connection handle |
Referenced by ocilib::Connection::GetServerOutput().