Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (日本語) » Ultra Light - C/C++ プログラミング » API リファレンス » Ultra Light C++ API リファレンス » UltraLite_RowSchema_iface クラス

 

GetColumnScale 関数

数値カラムの位取りを取得します。

構文
size_t UltraLite_RowSchema_iface::GetColumnScale(
  const ULValue & column_id
)
パラメータ
  • column_id   1 から始まる順序数。

戻り値

カラムが数値型ではないか、カラムが存在しない場合は、0 を返します。

備考

カラム名が存在しない場合は、SQLE_COLUMN_NOT_FOUND を設定します。

カラム型が数値ではない場合は、SQLE_DATATYPE_NOT_ALLOWED を設定します。