• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Transact-SQL >  UNION Queries

UNION Queries

The UNION command is used to combine several query results into a single result, where the result can only be read. This is the complete syntax:

Select-statement1
UNION [ALL]
Select- statement2
[UNION [ALL]
Select- statement3]
[...]


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint