Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
指定された結果セットのカラムに対するカラム情報を取得します。
sqlany_get_column_info ( $stmt, $col_index )
$stmt sqlany_execute または sqlany_execute_direct によって実行された文オブジェクト。
$col_index カラムの数は、0 ~ sqlany_num_cols() - 1 の間です。
結果セット内のカラムに関する情報を格納した 9 要素の配列を返します。最初の要素は、成功した場合は 1、失敗した場合は 0 です。配列の各要素を次の表に示します。
# 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 )