EXTFNAPIV4_DESCRIBE_COL_IS_UNIQUE (Get)

The EXTFNAPIV4_DESCRIBE_COL_IS_UNIQUE attribute indicates if a column is unique in the table. Used in a describe_column_get scenario.

Data Type

a_sql_byte

Description

True, if the column is unique within the table. This property is valid only for table arguments.

Usage

If the UDF gets this property, then returns 1 if the column is unique, and 0 otherwise.

Returns

On success, returns the sizeof(a_sql_byte) or:
  • EXTFNAPIV4_DESCRIBE_NOT_AVAILABLE – if the attribute was unavailable to get. This can happen if the column was not involved in the query.

On failure, returns one of the generic describe_column errors, or:

Query Processing States

Valid in:

Related concepts
Query Processing States
Related reference
Generic describe_column Errors
EXTFNAPIV4_DESCRIBE_COL_IS_UNIQUE (Set)