GetColumnSQLName function

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

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

Returns

A combined ULValue class object.

Remarks

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.