Those functions give extra information about OCILIB statements and can modify their behaviour.
Functions | |
OCI_EXPORT unsigned int OCI_API | OCI_GetStatementType (OCI_Statement *stmt) |
Return the type of a SQL statement. | |
OCI_EXPORT boolean OCI_API | OCI_SetFetchMode (OCI_Statement *stmt, unsigned int mode) |
Set the fetch mode of a SQL statement. | |
OCI_EXPORT unsigned int OCI_API | OCI_GetFetchMode (OCI_Statement *stmt) |
Return the fetch mode of a SQL statement. | |
OCI_EXPORT boolean OCI_API | OCI_SetBindMode (OCI_Statement *stmt, unsigned int mode) |
Set the binding mode of a SQL statement. | |
OCI_EXPORT unsigned int OCI_API | OCI_GetBindMode (OCI_Statement *stmt) |
Return the binding mode of a SQL statement. | |
OCI_EXPORT boolean OCI_API | OCI_SetBindAllocation (OCI_Statement *stmt, unsigned int mode) |
Set the bind allocation mode of a SQL statement. | |
OCI_EXPORT unsigned int OCI_API | OCI_GetBindAllocation (OCI_Statement *stmt) |
Return the bind allocation mode of a SQL statement. | |
OCI_EXPORT boolean OCI_API | OCI_SetFetchSize (OCI_Statement *stmt, unsigned int size) |
Set the number of rows fetched per internal server fetch call. | |
OCI_EXPORT unsigned int OCI_API | OCI_GetFetchSize (OCI_Statement *stmt) |
Return the number of rows fetched per internal server fetch call. | |
OCI_EXPORT boolean OCI_API | OCI_SetPrefetchSize (OCI_Statement *stmt, unsigned int size) |
Set the number of rows pre-fetched by OCI Client. | |
OCI_EXPORT unsigned int OCI_API | OCI_GetPrefetchSize (OCI_Statement *stmt) |
Return the number of rows pre-fetched by OCI Client. | |
OCI_EXPORT boolean OCI_API | OCI_SetPrefetchMemory (OCI_Statement *stmt, unsigned int size) |
Set the number of rows pre-fetched by OCI Client. | |
OCI_EXPORT unsigned int OCI_API | OCI_GetPrefetchMemory (OCI_Statement *stmt) |
Return the amount of memory used to retrieve rows pre-fetched by OCI Client. | |
OCI_EXPORT boolean OCI_API | OCI_SetLongMaxSize (OCI_Statement *stmt, unsigned int size) |
Set the LONG datatype piece buffer size. | |
OCI_EXPORT unsigned int OCI_API | OCI_GetLongMaxSize (OCI_Statement *stmt) |
Return the LONG datatype piece buffer size. | |
OCI_EXPORT boolean OCI_API | OCI_SetLongMode (OCI_Statement *stmt, unsigned int mode) |
Set the long datatype handling mode of a SQL statement. | |
OCI_EXPORT unsigned int OCI_API | OCI_GetLongMode (OCI_Statement *stmt) |
Return the long datatype handling mode of a SQL statement. | |
OCI_EXPORT OCI_Connection *OCI_API | OCI_StatementGetConnection (OCI_Statement *stmt) |
Return the connection handle associated with a statement handle. |
OCI_EXPORT unsigned int OCI_API OCI_GetStatementType | ( | OCI_Statement * | stmt | ) |
Return the type of a SQL statement.
stmt | - Statement handle |
Definition at line 3468 of file statement.c.
Referenced by OCI_Immediate(), and OCI_ImmediateFmt().
OCI_EXPORT boolean OCI_API OCI_SetFetchMode | ( | OCI_Statement * | stmt, | |
unsigned int | mode | |||
) |
Set the fetch mode of a SQL statement.
stmt | - Statement handle | |
mode | - fetch mode value |
Definition at line 3484 of file statement.c.
OCI_EXPORT unsigned int OCI_API OCI_GetFetchMode | ( | OCI_Statement * | stmt | ) |
Return the fetch mode of a SQL statement.
stmt | - Statement handle |
Definition at line 3505 of file statement.c.
OCI_EXPORT boolean OCI_API OCI_SetBindMode | ( | OCI_Statement * | stmt, | |
unsigned int | mode | |||
) |
Set the binding mode of a SQL statement.
stmt | - Statement handle | |
mode | - binding mode value |
Definition at line 3523 of file statement.c.
OCI_EXPORT unsigned int OCI_API OCI_GetBindMode | ( | OCI_Statement * | stmt | ) |
Return the binding mode of a SQL statement.
stmt | - Statement handle |
Definition at line 3542 of file statement.c.
OCI_EXPORT boolean OCI_API OCI_SetBindAllocation | ( | OCI_Statement * | stmt, | |
unsigned int | mode | |||
) |
Set the bind allocation mode of a SQL statement.
stmt | - Statement handle | |
mode | - bind allocation mode value |
Definition at line 3558 of file statement.c.
OCI_EXPORT unsigned int OCI_API OCI_GetBindAllocation | ( | OCI_Statement * | stmt | ) |
Return the bind allocation mode of a SQL statement.
stmt | - Statement handle |
Definition at line 3577 of file statement.c.
OCI_EXPORT boolean OCI_API OCI_SetFetchSize | ( | OCI_Statement * | stmt, | |
unsigned int | size | |||
) |
Set the number of rows fetched per internal server fetch call.
stmt | - Statement handle | |
size | - number of rows to fetch |
Definition at line 3593 of file statement.c.
OCI_EXPORT unsigned int OCI_API OCI_GetFetchSize | ( | OCI_Statement * | stmt | ) |
Return the number of rows fetched per internal server fetch call.
stmt | - Statement handle |
Definition at line 3614 of file statement.c.
OCI_EXPORT boolean OCI_API OCI_SetPrefetchSize | ( | OCI_Statement * | stmt, | |
unsigned int | size | |||
) |
Set the number of rows pre-fetched by OCI Client.
stmt | - Statement handle | |
size | - number of rows to pre-fetch |
Definition at line 3630 of file statement.c.
OCI_EXPORT unsigned int OCI_API OCI_GetPrefetchSize | ( | OCI_Statement * | stmt | ) |
Return the number of rows pre-fetched by OCI Client.
stmt | - Statement handle |
Definition at line 3662 of file statement.c.
OCI_EXPORT boolean OCI_API OCI_SetPrefetchMemory | ( | OCI_Statement * | stmt, | |
unsigned int | size | |||
) |
Set the number of rows pre-fetched by OCI Client.
stmt | - Statement handle | |
size | - amount of memory to fetch |
Definition at line 3678 of file statement.c.
OCI_EXPORT unsigned int OCI_API OCI_GetPrefetchMemory | ( | OCI_Statement * | stmt | ) |
Return the amount of memory used to retrieve rows pre-fetched by OCI Client.
stmt | - Statement handle |
Definition at line 3710 of file statement.c.
OCI_EXPORT boolean OCI_API OCI_SetLongMaxSize | ( | OCI_Statement * | stmt, | |
unsigned int | size | |||
) |
Set the LONG datatype piece buffer size.
stmt | - Statement handle | |
size | - maximum size for long buffer |
Definition at line 3726 of file statement.c.
OCI_EXPORT unsigned int OCI_API OCI_GetLongMaxSize | ( | OCI_Statement * | stmt | ) |
Return the LONG datatype piece buffer size.
stmt | - Statement handle |
Definition at line 3747 of file statement.c.
OCI_EXPORT boolean OCI_API OCI_SetLongMode | ( | OCI_Statement * | stmt, | |
unsigned int | mode | |||
) |
Set the long datatype handling mode of a SQL statement.
stmt | - Statement handle | |
mode | - binding mode value |
LONG RAWs can't be handled with OCI_LONG_IMPLICIT
Definition at line 3763 of file statement.c.
OCI_EXPORT unsigned int OCI_API OCI_GetLongMode | ( | OCI_Statement * | stmt | ) |
Return the long datatype handling mode of a SQL statement.
stmt | - Statement handle |
Definition at line 3782 of file statement.c.
OCI_EXPORT OCI_Connection* OCI_API OCI_StatementGetConnection | ( | OCI_Statement * | stmt | ) |
Return the connection handle associated with a statement handle.
stmt | - Statement handle |
Definition at line 3798 of file statement.c.