Sets the name of the active query, or creates a query with that name if there is no active query. The name appears in the query window title bar.
Syntax
SetQueryName(name)
name The name of the query.