Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is Difference between PROC SQL JOINS and MERGE?

Answer Posted / rajitha macherla

The resultant dataset depends on the input datasets.
In case of one to one and one to many both work
similarly,i.e. the resultant dataset is same.
But differs in case of many to many and non matching
datasets:
many to many:
ex: (merge on x) (proc sql)
X Y X Z X Y Z X Y Z
----- ------ ------- -------
1 A 1 F 1 A F 1 A F
1 C 1 R ---> 1 C R 1 A R
2 B 2 G 2 B G 1 C F
1 C R
2 B G


NON MATCHING DATA:

ex: (merge on x) (proc sql)
X Y X Z X Y Z X Y Z
----- ------ ------- -------
1 A 1 F 1 A F 1 A F
2 B 3 T ---> 2 B . 3 C T
3 C 4 G 3 C T
4 . G

Is This Answer Correct ?    28 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is sas enterprise intelligence architecture? : Sas-bi

945


explain about data integrator metadata reports? : Sas-di

1053


Describe crosslist option in tables statement?

1186


what is the difference between unique key and primary key? : Sas-di

1073


How would you determine the number of missing or nonmissing values in computations?

1029


What are the statements in proc sql?

1061


do you need to know if there are any missing values? : Sas programming

1005


What is connection profile? : sas-grid-administration

1126


what are validation tools that are used in sas? : Sas-administrator

1015


What is the role of sas grid administrator? : sas-grid-administration

1244


if the Id has more then two transcatiion then show the first observation, IF Id has only two observation then It show both the observation

1575


name the scheduler for scheduling job and explain the scheduler? : Sas-di

1013


What is the difference between where and if statement?

1083


What is the role of administrative users? : sas-grid-administration

1031


How substr function works in sas?

1167