The GetQueryBand function can be used in a SELECT statement and an input parameter for a table function.
This function is created in the SYSLIB database when the Environment is created. EXECUTE privileges are granted to PUBLIC by default. For more information, see Requirements for Using the API.