SQL::Query::Union Object

Description

Internal use only.

The SQL::Query::Union object describes the union of two tables. A query may include one or more UNION clauses. Each subsequent unioned query is concatenated onto the original query (columns need to match). The set can be followed by an ORDER BY clause to reorder the results. For example:

SELECT DepartmentName from departments
    UNION
     SELECT Name from OldDepartments
     ORDER BY 1

Properties

AllLogical

Read Write. If .T., the ALL keyword is included in the UNION clause

SelectSQL::Query

Read Write. An additional query to add on to the results of the first query with.

TokenTypeNameCharacter

Read Write. Returns the name of the underlying token as a type. This does NOT include the SQL::Query:: prefix.

See Also