Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Gets column information for the specified result set column.
sqlany_get_column_info ( $stmt, $col_index )
A statement object that was executed by sqlany_execute or sqlany_execute_direct.
The column number between 0 and sqlany_num_cols() - 1.
Returns a 9-element array of information describing a column in a result set. The first element contains 1 on success or 0
on failure. The array elements are described in the following table.
# Get column info for first column (0)
rc, col_num, col_name, col_type, col_native_type, col_precision, col_scale,
col_size, col_nullable = api.sqlany_get_column_info( stmt, 0 )