IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Diff b/w joins & Unions


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
prathima
Warnings : 1

New User


Joined: 31 Jul 2005
Posts: 6
Location: mumbai

PostPosted: Sun Aug 21, 2005 1:40 pm
Reply with quote

hi,

give me some differences b/w join & union?otherthan this(row wise o/p & cl wise o/p)
Back to top
View user's profile Send private message
atik

New User


Joined: 29 Jul 2005
Posts: 20

PostPosted: Mon Aug 22, 2005 3:20 pm
Reply with quote

Both are used for different purposes. I think there is no means to compare these two other than what you mentioned.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Sun Aug 28, 2005 3:54 pm
Reply with quote

Join is used to retrieve data from different tables using a single. Union is used to combine the results of two or more queries.

Regards,

Priyesh.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Sort on different fields, removing du... SYNCSORT 8
No new posts How syntax check at Bind time is diff... DB2 5
No new posts Compare PD Values with same storage &... JCL & VSAM 5
No new posts merge records from 2 ps files with di... DFSORT/ICETOOL 6
No new posts Need help on SORT to write each input... JCL & VSAM 4
Search our Forums:

Back to Top