What is the difference between nodup and nodupkey options?
Answer Posted / shalabh tyagi
Nodup: Checks for duplicacy among the variables in a row and
keeps the 1st row of that observaion in the final output and
deletes the rest
Nodupkey: Checks for the duplicacy among the variables
specified in "by" statement and keeps the 1st row of the
observaion and deletes the rest
Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Name validation tools used in SAS
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
describe about physical data integration? : Sas-di
where are dashboard components are created and maintained? : Sas-bi
What is the difference between %local and %global? : sas-macro
What is connection profile? : sas-grid-administration
What is PROC in SAS?
How would you include common or reuse to be processed along with your statements?
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.
what is sas application server? : Sas-di
Describe 5 ways to do a “table lookup” in SAS?
What are the functions which are used for character handling functions?
What is the role of administrative users? : sas-grid-administration
how can you create zero observation dataset? : Sas programming
how to read the variables in sas? : Sas-administrator