EXTFNAPIV4_DESCRIBE_COL_IS_CONSTANT (Set)

The EXTFNAPIV4_DESCRIBE_COL_IS_CONSTANT attribute indicates if the column is constant. Used in a describe_column_set 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

This is a read only property. All attempts to set it return EXTFNAPIV4_DESCRIBE_INVALID_ATTRIBUTE.

Returns

  • EXTFNAPIV4_DESCRIBE_INVALID ATTRIBUTE – this is a read-only property; all attempts to set return this error.
  • EXTFNAPIV4_DESCRIBE_INVALID_STATE – set error returned, if the state is not Optimization.
  • EXTFNAPIV4_DESCRIBE_INVALID_PARAMETER – set error returned, if the arg_num is not zero.
  • EXTFNAPIV4_DESCRIBE_INVALID_ATTRIBUTE_VALUE – set error returned, if the UDF attempts to set this attribute to a value other than 0 or 1.

Query Processing States

Not applicable.