SQLSetVectorAsCounter Full Description |
|
Syntaxdefine external function SQLSetVectorAsCounter ( read-only SQL_vector_type Vector, value counter CounterValue ) Purpose Sets the data area of the SQL_vector_type variable to the specified counter value. Input arguments:
The following code demonstrates how to use local SQL_Vector_type Vector local counter VectorCounterValue SQLSetVectorSize( Vector, 4 ) set VectorCounterValue to SQLGetVectorAsCounter( Vector ) output "Initial counter value = %d(VectorCounterValue)%n" SQLSetVectorAsCounter( Vector, 1997 ) set VectorCounterValue to SQLGetVectorAsCounter( Vector ) output "Current counter value = %d(VectorCounterValue)%n" |