SQLSetVectorSize Full Description |
|
Syntaxdefine external function SQLSetVectorSize ( read-only SQL_vector_type Vector, value counter BufferLength ) Purpose Sets the data area size of the SQL_vector_type opaque data type variable. The existing buffer (if any) is freed. Input arguments:
The following code demonstrates how to initialize and set SQL vector variables:
local SQL_vector_type Vector local counter VectorSize set VectorSize to SQLGetVectorSize( Vector ) output "Initial vector size = %d(VectorSize)%n" SQLSetVectorSize( Vector, 30 ) set VectorSize to SQLGetVectorSize( Vector ) output "Current vector size = %d(VectorSize)%n" |