|
||||||||||
|
||||||||||
Related Syntax | Other Library Functions |
function | SQLSetVectorAsCounter |
Library: omodbc - low-level ODBC support
Include: omodbc.xin |
define external function SQLSetVectorAsCounter ( read-only SQL_vector_type Vector, value integer CounterValue )
Sets the data area of the SQL_vector_type variable to the specified integer value.
Input arguments:
The following code demonstrates how to use SQLSetVectorAsCounter
to sett the SQL vector stream value.
local SQL_Vector_type Vector local integer VectorCounterValue SQLSetVectorSize( Vector, 4 ) set VectorCounterValue to SQLGetVectorAsCounter( Vector ) output "Initial integer value = %d(VectorCounterValue)%n" SQLSetVectorAsCounter( Vector, 1997 ) set VectorCounterValue to SQLGetVectorAsCounter( Vector ) output "Current integer value = %d(VectorCounterValue)%n"
---- |