Using a UDF in the select list of a main query

  1. Log on to NonStop SQL/MX.

  2. Compile a SELECT statement that contains one or more UDFs in the select-list portion of the query.

  3. Execute the compiled statement.