OCILIB (C and C++ Driver for Oracle)
4.7.5
Open source and cross platform Oracle Driver delivering efficient access to Oracle databases.
|
OcilibCApiRowIds
Those functions give extra information about OCILIB statements and can modify their behavior.
Functions | |
OCI_SYM_PUBLIC unsigned int OCI_API | OCI_GetStatementType (OCI_Statement *stmt) |
Return the type of a SQL statement. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_SetFetchMode (OCI_Statement *stmt, unsigned int mode) |
Set the fetch mode of a SQL statement. | |
OCI_SYM_PUBLIC unsigned int OCI_API | OCI_GetFetchMode (OCI_Statement *stmt) |
Return the fetch mode of a SQL statement. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_SetBindMode (OCI_Statement *stmt, unsigned int mode) |
Set the binding mode of a SQL statement. | |
OCI_SYM_PUBLIC unsigned int OCI_API | OCI_GetBindMode (OCI_Statement *stmt) |
Return the binding mode of a SQL statement. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_SetBindAllocation (OCI_Statement *stmt, unsigned int mode) |
Set the current bind allocation mode that will be used for subsequent binding calls. | |
OCI_SYM_PUBLIC unsigned int OCI_API | OCI_GetBindAllocation (OCI_Statement *stmt) |
Return the current bind allocation mode used for subsequent binding calls. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_SetFetchSize (OCI_Statement *stmt, unsigned int size) |
Set the number of rows fetched per internal server fetch call. | |
OCI_SYM_PUBLIC unsigned int OCI_API | OCI_GetFetchSize (OCI_Statement *stmt) |
Return the number of rows fetched per internal server fetch call. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_SetPrefetchSize (OCI_Statement *stmt, unsigned int size) |
Set the number of rows pre-fetched by OCI Client. | |
OCI_SYM_PUBLIC unsigned int OCI_API | OCI_GetPrefetchSize (OCI_Statement *stmt) |
Return the number of rows pre-fetched by OCI Client. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_SetPrefetchMemory (OCI_Statement *stmt, unsigned int size) |
Set the amount of memory pre-fetched by OCI Client. | |
OCI_SYM_PUBLIC unsigned int OCI_API | OCI_GetPrefetchMemory (OCI_Statement *stmt) |
Return the amount of memory used to retrieve rows pre-fetched by OCI Client. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_SetLongMaxSize (OCI_Statement *stmt, unsigned int size) |
Set the LONG data type piece buffer size. | |
OCI_SYM_PUBLIC unsigned int OCI_API | OCI_GetLongMaxSize (OCI_Statement *stmt) |
Return the LONG data type piece buffer size. | |
OCI_SYM_PUBLIC boolean OCI_API | OCI_SetLongMode (OCI_Statement *stmt, unsigned int mode) |
Set the long data type handling mode of a SQL statement. | |
OCI_SYM_PUBLIC unsigned int OCI_API | OCI_GetLongMode (OCI_Statement *stmt) |
Return the long data type handling mode of a SQL statement. | |
OCI_SYM_PUBLIC OCI_Connection *OCI_API | OCI_StatementGetConnection (OCI_Statement *stmt) |
Return the connection handle associated with a statement handle. | |
OCI_SYM_PUBLIC unsigned int OCI_API OCI_GetStatementType | ( | OCI_Statement * | stmt | ) |
#include <api.h>
Return the type of a SQL statement.
stmt | - Statement handle |
Referenced by ocilib::Statement::GetStatementType().
OCI_SYM_PUBLIC boolean OCI_API OCI_SetFetchMode | ( | OCI_Statement * | stmt, |
unsigned int | mode | ||
) |
#include <api.h>
Set the fetch mode of a SQL statement.
stmt | - Statement handle |
mode | - fetch mode value |
Referenced by ocilib::Statement::SetFetchMode().
OCI_SYM_PUBLIC unsigned int OCI_API OCI_GetFetchMode | ( | OCI_Statement * | stmt | ) |
#include <api.h>
Return the fetch mode of a SQL statement.
stmt | - Statement handle |
Referenced by ocilib::Statement::GetFetchMode().
OCI_SYM_PUBLIC boolean OCI_API OCI_SetBindMode | ( | OCI_Statement * | stmt, |
unsigned int | mode | ||
) |
#include <api.h>
Set the binding mode of a SQL statement.
stmt | - Statement handle |
mode | - binding mode value |
Referenced by ocilib::Statement::SetBindMode().
OCI_SYM_PUBLIC unsigned int OCI_API OCI_GetBindMode | ( | OCI_Statement * | stmt | ) |
#include <api.h>
Return the binding mode of a SQL statement.
stmt | - Statement handle |
Referenced by ocilib::Statement::GetBindMode().
OCI_SYM_PUBLIC boolean OCI_API OCI_SetBindAllocation | ( | OCI_Statement * | stmt, |
unsigned int | mode | ||
) |
#include <api.h>
Set the current bind allocation mode that will be used for subsequent binding calls.
stmt | - Statement handle |
mode | - bind allocation mode value |
OCI_SYM_PUBLIC unsigned int OCI_API OCI_GetBindAllocation | ( | OCI_Statement * | stmt | ) |
#include <api.h>
Return the current bind allocation mode used for subsequent binding calls.
stmt | - Statement handle |
OCI_SYM_PUBLIC boolean OCI_API OCI_SetFetchSize | ( | OCI_Statement * | stmt, |
unsigned int | size | ||
) |
#include <api.h>
Set the number of rows fetched per internal server fetch call.
stmt | - Statement handle |
size | - number of rows to fetch |
Referenced by ocilib::Statement::SetFetchSize().
OCI_SYM_PUBLIC unsigned int OCI_API OCI_GetFetchSize | ( | OCI_Statement * | stmt | ) |
#include <api.h>
Return the number of rows fetched per internal server fetch call.
stmt | - Statement handle |
Referenced by ocilib::Statement::GetFetchSize().
OCI_SYM_PUBLIC boolean OCI_API OCI_SetPrefetchSize | ( | OCI_Statement * | stmt, |
unsigned int | size | ||
) |
#include <api.h>
Set the number of rows pre-fetched by OCI Client.
stmt | - Statement handle |
size | - number of rows to pre-fetch |
Referenced by ocilib::Statement::SetPrefetchSize().
OCI_SYM_PUBLIC unsigned int OCI_API OCI_GetPrefetchSize | ( | OCI_Statement * | stmt | ) |
#include <api.h>
Return the number of rows pre-fetched by OCI Client.
stmt | - Statement handle |
Referenced by ocilib::Statement::GetPrefetchSize().
OCI_SYM_PUBLIC boolean OCI_API OCI_SetPrefetchMemory | ( | OCI_Statement * | stmt, |
unsigned int | size | ||
) |
#include <api.h>
Set the amount of memory pre-fetched by OCI Client.
stmt | - Statement handle |
size | - amount of memory to fetch |
Referenced by ocilib::Statement::SetPrefetchMemory().
OCI_SYM_PUBLIC unsigned int OCI_API OCI_GetPrefetchMemory | ( | OCI_Statement * | stmt | ) |
#include <api.h>
Return the amount of memory used to retrieve rows pre-fetched by OCI Client.
stmt | - Statement handle |
Referenced by ocilib::Statement::GetPrefetchMemory().
OCI_SYM_PUBLIC boolean OCI_API OCI_SetLongMaxSize | ( | OCI_Statement * | stmt, |
unsigned int | size | ||
) |
#include <api.h>
Set the LONG data type piece buffer size.
stmt | - Statement handle |
size | - maximum size for long buffer |
Referenced by ocilib::Statement::SetLongMaxSize().
OCI_SYM_PUBLIC unsigned int OCI_API OCI_GetLongMaxSize | ( | OCI_Statement * | stmt | ) |
#include <api.h>
Return the LONG data type piece buffer size.
stmt | - Statement handle |
Referenced by ocilib::Statement::GetLongMaxSize().
OCI_SYM_PUBLIC boolean OCI_API OCI_SetLongMode | ( | OCI_Statement * | stmt, |
unsigned int | mode | ||
) |
#include <api.h>
Set the long data type handling mode of a SQL statement.
stmt | - Statement handle |
mode | - long mode value |
OCI_LONG_IMPLICIT : LONGs are implicitly mapped to string type in the limits of VARCHAR2 size capacity
LONG RAWs cannot be handled with OCI_LONG_IMPLICIT
Referenced by ocilib::Statement::SetLongMode().
OCI_SYM_PUBLIC unsigned int OCI_API OCI_GetLongMode | ( | OCI_Statement * | stmt | ) |
#include <api.h>
Return the long data type handling mode of a SQL statement.
stmt | - Statement handle |
Referenced by ocilib::Statement::GetLongMode().
OCI_SYM_PUBLIC OCI_Connection *OCI_API OCI_StatementGetConnection | ( | OCI_Statement * | stmt | ) |
#include <api.h>
Return the connection handle associated with a statement handle.
stmt | - Statement handle |
Referenced by ocilib::Statement::GetConnection().