dcsimg
LinkedIn
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: SQL
Expertise: Beginner
Jul 1, 2008

Use UNION ALL Instead of UNION

To improve query speed, use the UNION ALL statement. UNION ALL looks for and discards duplicate rows in the result set, whereas the UNION statement does not.

Srinath MS
 
Close Icon
Thanks for your registration, follow us on our social networks to keep up-to-date