Answer Posted / thirumalesh.e.
We can delete using Proc NoDupkey NoDuprecs and
NoDuplicates, then by Dupsort system option, then
if.first . last, Proc sql, create by select * unique ...
OK.
Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?
I have a dataset concat having variable a b & c. How to rename a b to e & f?
I need level 2 to 5 sas using companies in india
how many types prompting framework can be broken down to? : Sas-bi
What are the statements that are executed only?
How to limit decimal places for variable using proc means?
what is slowly changing dimension? : Sas-di
how do you pull data from equifax?tell me the process?
For clinical entire study how many tables will create approx?
what is sas metadata server? : Sas-di
What do you understand by the term Normal Distribution?
What would be the value of month at the end of data step execution and how many observations would be there?
Describe a time when you were really stuck on a problem and how you solved it?
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 the difference between INPUT and INFILE ?