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

SQL Anywhere 11.0.1 » UltraLite - C and C++ Programming » API Reference » UltraLite C++ API reference » UltraLite_RowSchema_iface class


GetColumnSQLName function

Gets the SQL name for a column in a result set.

ULValue UltraLite_RowSchema_iface::GetColumnSQLName(
  ul_column_num column_id
  • column_id   A 1-based ordinal number.


A combined ULValue class object.


If the column has an alias, then that name is used. Otherwise, if the column in the result set corresponds to a column in a table, then the column name is used. Otherwise, the combined name is empty.

SQLE_COLUMN_NOT_FOUND is set if the column name does not exist.