OCILIB (C and C++ Driver for Oracle)
4.6.3
|
OCILIB supports the Oracle feature 'Returning into' for DML statements.
Let's Oracle talk about this features:
OCILIB implements this features by providing a set of functions that allows to register output placeholders for the returned values. Once the DML is executed with OCI_Execute(), the output returned data is available through a regular resultset object that can be fetched.
Functions | |
OCI_EXPORT OCI_Resultset *OCI_API | OCI_GetNextResultset (OCI_Statement *stmt) |
Retrieve the next available resultset. More... | |
OCI_EXPORT boolean OCI_API | OCI_RegisterNumber (OCI_Statement *stmt, const otext *name) |
Register a register output bind placeholder. More... | |
OCI_EXPORT boolean OCI_API | OCI_RegisterShort (OCI_Statement *stmt, const otext *name) |
Register a short output bind placeholder. More... | |
OCI_EXPORT boolean OCI_API | OCI_RegisterUnsignedShort (OCI_Statement *stmt, const otext *name) |
Register an unsigned short output bind placeholder. More... | |
OCI_EXPORT boolean OCI_API | OCI_RegisterInt (OCI_Statement *stmt, const otext *name) |
Register an integer output bind placeholder. More... | |
OCI_EXPORT boolean OCI_API | OCI_RegisterUnsignedInt (OCI_Statement *stmt, const otext *name) |
Register an unsigned integer output bind placeholder. More... | |
OCI_EXPORT boolean OCI_API | OCI_RegisterBigInt (OCI_Statement *stmt, const otext *name) |
Register a big integer output bind placeholder. More... | |
OCI_EXPORT boolean OCI_API | OCI_RegisterUnsignedBigInt (OCI_Statement *stmt, const otext *name) |
Register an unsigned big integer output bind placeholder. More... | |
OCI_EXPORT boolean OCI_API | OCI_RegisterString (OCI_Statement *stmt, const otext *name, unsigned int len) |
Register a string output bind placeholder. More... | |
OCI_EXPORT boolean OCI_API | OCI_RegisterRaw (OCI_Statement *stmt, const otext *name, unsigned int len) |
Register an raw output bind placeholder. More... | |
OCI_EXPORT boolean OCI_API | OCI_RegisterDouble (OCI_Statement *stmt, const otext *name) |
Register a double output bind placeholder. More... | |
OCI_EXPORT boolean OCI_API | OCI_RegisterFloat (OCI_Statement *stmt, const otext *name) |
Register a float output bind placeholder. More... | |
OCI_EXPORT boolean OCI_API | OCI_RegisterDate (OCI_Statement *stmt, const otext *name) |
Register a date output bind placeholder. More... | |
OCI_EXPORT boolean OCI_API | OCI_RegisterTimestamp (OCI_Statement *stmt, const otext *name, unsigned int type) |
Register a timestamp output bind placeholder. More... | |
OCI_EXPORT boolean OCI_API | OCI_RegisterInterval (OCI_Statement *stmt, const otext *name, unsigned int type) |
Register an interval output bind placeholder. More... | |
OCI_EXPORT boolean OCI_API | OCI_RegisterObject (OCI_Statement *stmt, const otext *name, OCI_TypeInfo *typinf) |
Register an object output bind placeholder. More... | |
OCI_EXPORT boolean OCI_API | OCI_RegisterLob (OCI_Statement *stmt, const otext *name, unsigned int type) |
Register a lob output bind placeholder. More... | |
OCI_EXPORT boolean OCI_API | OCI_RegisterFile (OCI_Statement *stmt, const otext *name, unsigned int type) |
Register a file output bind placeholder. More... | |
OCI_EXPORT boolean OCI_API | OCI_RegisterRef (OCI_Statement *stmt, const otext *name, OCI_TypeInfo *typinf) |
Register a Ref output bind placeholder. More... | |
OCI_EXPORT OCI_Resultset* OCI_API OCI_GetNextResultset | ( | OCI_Statement * | stmt | ) |
#include <ocilib.h>
Retrieve the next available resultset.
stmt | - Statement handle |
Referenced by ocilib::Statement::GetNextResultset().
OCI_EXPORT boolean OCI_API OCI_RegisterNumber | ( | OCI_Statement * | stmt, |
const otext * | name | ||
) |
#include <ocilib.h>
Register a register output bind placeholder.
stmt | - Statement handle |
name | - Output bind name |
Referenced by ocilib::Statement::Bind().
OCI_EXPORT boolean OCI_API OCI_RegisterShort | ( | OCI_Statement * | stmt, |
const otext * | name | ||
) |
#include <ocilib.h>
Register a short output bind placeholder.
stmt | - Statement handle |
name | - Output bind name |
Referenced by ocilib::Statement::Bind().
OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedShort | ( | OCI_Statement * | stmt, |
const otext * | name | ||
) |
#include <ocilib.h>
Register an unsigned short output bind placeholder.
stmt | - Statement handle |
name | - Output bind name |
Referenced by ocilib::Statement::Bind().
OCI_EXPORT boolean OCI_API OCI_RegisterInt | ( | OCI_Statement * | stmt, |
const otext * | name | ||
) |
#include <ocilib.h>
Register an integer output bind placeholder.
stmt | - Statement handle |
name | - Output bind name |
Referenced by ocilib::Statement::Bind().
OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedInt | ( | OCI_Statement * | stmt, |
const otext * | name | ||
) |
#include <ocilib.h>
Register an unsigned integer output bind placeholder.
stmt | - Statement handle |
name | - Output bind name |
Referenced by ocilib::Statement::Bind().
OCI_EXPORT boolean OCI_API OCI_RegisterBigInt | ( | OCI_Statement * | stmt, |
const otext * | name | ||
) |
#include <ocilib.h>
Register a big integer output bind placeholder.
stmt | - Statement handle |
name | - Output bind name |
Referenced by ocilib::Statement::Bind().
OCI_EXPORT boolean OCI_API OCI_RegisterUnsignedBigInt | ( | OCI_Statement * | stmt, |
const otext * | name | ||
) |
#include <ocilib.h>
Register an unsigned big integer output bind placeholder.
stmt | - Statement handle |
name | - Output bind name |
Referenced by ocilib::Statement::Bind().
OCI_EXPORT boolean OCI_API OCI_RegisterString | ( | OCI_Statement * | stmt, |
const otext * | name, | ||
unsigned int | len | ||
) |
#include <ocilib.h>
Register a string output bind placeholder.
stmt | - Statement handle |
name | - Output bind name |
len | - Max length of single string (in characters) |
Referenced by ocilib::Statement::Bind().
OCI_EXPORT boolean OCI_API OCI_RegisterRaw | ( | OCI_Statement * | stmt, |
const otext * | name, | ||
unsigned int | len | ||
) |
#include <ocilib.h>
Register an raw output bind placeholder.
stmt | - Statement handle |
name | - Output bind name |
len | - Max length of the buffer (in bytes) |
Referenced by ocilib::Statement::Bind().
OCI_EXPORT boolean OCI_API OCI_RegisterDouble | ( | OCI_Statement * | stmt, |
const otext * | name | ||
) |
#include <ocilib.h>
Register a double output bind placeholder.
stmt | - Statement handle |
name | - Output bind name |
Referenced by ocilib::Statement::Bind().
OCI_EXPORT boolean OCI_API OCI_RegisterFloat | ( | OCI_Statement * | stmt, |
const otext * | name | ||
) |
#include <ocilib.h>
Register a float output bind placeholder.
stmt | - Statement handle |
name | - Output bind name |
Referenced by ocilib::Statement::Bind().
OCI_EXPORT boolean OCI_API OCI_RegisterDate | ( | OCI_Statement * | stmt, |
const otext * | name | ||
) |
#include <ocilib.h>
Register a date output bind placeholder.
stmt | - Statement handle |
name | - Output bind name |
Referenced by ocilib::Statement::Bind().
OCI_EXPORT boolean OCI_API OCI_RegisterTimestamp | ( | OCI_Statement * | stmt, |
const otext * | name, | ||
unsigned int | type | ||
) |
#include <ocilib.h>
Register a timestamp output bind placeholder.
stmt | - Statement handle |
name | - Output bind name |
type | - Timestamp type |
Referenced by ocilib::Statement::Bind().
OCI_EXPORT boolean OCI_API OCI_RegisterInterval | ( | OCI_Statement * | stmt, |
const otext * | name, | ||
unsigned int | type | ||
) |
#include <ocilib.h>
Register an interval output bind placeholder.
stmt | - Statement handle |
name | - Output bind name |
type | - Interval type |
Referenced by ocilib::Statement::Bind().
OCI_EXPORT boolean OCI_API OCI_RegisterObject | ( | OCI_Statement * | stmt, |
const otext * | name, | ||
OCI_TypeInfo * | typinf | ||
) |
#include <ocilib.h>
Register an object output bind placeholder.
stmt | - Statement handle |
name | - Output bind name |
typinf | - Type info handle |
Referenced by ocilib::Statement::Bind().
OCI_EXPORT boolean OCI_API OCI_RegisterLob | ( | OCI_Statement * | stmt, |
const otext * | name, | ||
unsigned int | type | ||
) |
#include <ocilib.h>
Register a lob output bind placeholder.
stmt | - Statement handle |
name | - Output bind name |
type | - Lob type |
Referenced by ocilib::Statement::Bind().
OCI_EXPORT boolean OCI_API OCI_RegisterFile | ( | OCI_Statement * | stmt, |
const otext * | name, | ||
unsigned int | type | ||
) |
#include <ocilib.h>
Register a file output bind placeholder.
stmt | - Statement handle |
name | - Output bind name |
type | - File type |
Referenced by ocilib::Statement::Bind().
OCI_EXPORT boolean OCI_API OCI_RegisterRef | ( | OCI_Statement * | stmt, |
const otext * | name, | ||
OCI_TypeInfo * | typinf | ||
) |
#include <ocilib.h>
Register a Ref output bind placeholder.
stmt | - Statement handle |
name | - Output bind name |
typinf | - Type info handle |
Referenced by ocilib::Statement::Bind().