Defined in tcl/dw-defs.tclReturns the SQL code for a query, based on information in the query_columns table. Returns a list of $sql $select_list_items $order_clauses. Returns 0 if there aren't enough columns specified to form a query.
- Parameters:
-
query_id