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

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

 

GetColumnSQLName function

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

Remarks

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

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.

Returns
  • A combined ULValue class object.
  • SQLE_COLUMN_NOT_FOUND is set if the column name does not exist.