The EXTFNAPIV4_DESCRIBE_COL_TYPE attribute indicates the data type of the column. Used in a describe_column_get scenario.
Description
The data type of the column. This property is valid only for table arguments.
Usage
If a UDF gets this property, then returns the data type of the specified column.
Returns
On success, the sizeof(a_sql_data_type) is returned.
On failure, returns one of the generic
describe_column errors, or:
- EXTFNAPIV4_DESCRIBE_BUFFER_SIZE_MISMATCH – get error returned if the describe buffer is not the size of a_sql_data_type.
- EXTFNAPIV4_DESCRIBE_INVALID_STATE – get error returned if the
query processing phase is not greater than Initial.
Query Processing Phases
- Annotation phase
- Query Optimization phase
- Plan Building phase
- Execution phase