EXTFNAPIV4_DESCRIBE_COL_IS_CONSTANT (Get)

The EXTFNAPIV4_DESCRIBE_COL_IS_CONSTANT attribute indicates if a column is constant. Used in a describe_column_get scenario.

Data Type

a_sql_byte

Description

True, if the column is constant for the lifetime of the statement. This property is valid only for input table arguments.

Usage

If a UDF gets this property, the return value is 1 if the column is constant for the lifetime of the statement and 0 otherwise. Input table columns are constant, if the column in the select list for the input table is a constant expression or NULL.

Returns

On success, returns the sizeof(a_sql_byte), if the value was returned, or:

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

Query Processing States

Valid in: