Tuesday, October 11, 2011

MSSQL: UNION in query

SELECT * FROM Table1
UNION
SELECT * FROM Table2

Note: the items called in the select sentence have to be the same quantity 

Source:
http://msdn.microsoft.com/es-es/library/ms191141.aspx

No comments: