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 3478 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 3494 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 3515 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 3533 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 3552 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 3568 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 3587 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 3603 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 3624 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 3640 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 3672 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 3688 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 3720 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 3736 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 3757 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 3773 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 3792 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 3808 of file statement.c.