The open_result_set v4 API method opens a result set for a table value.
short open_result_set( a_v4_extfn_proc_context *cntxt, a_v4_extfn_table *table, a_v4_extfn_table_context **result_set )
open_result_set opens a result set for a table value. A UDF can open a result set to read rows from an input parameter of type DT_EXTFN_TABLE. The server (or another UDF) can open a result set to read rows from the UDF.
Parameter | Description |
---|---|
cntxt | The procedure context object |
table | The table object on which to open a result set |
result_set | An output parameter that is set to be an opened result set |
1 if successful, 0 otherwise.