How would you combine 3 or more tables with different
structures?
Post New Answer View All Answers
Tell e how how dealt with..
What are SAS/ACCESS and SAS/CONNECT?
how does sas handle missing values in a merge? : Sas programming
what is SAS OPTIMIZATION?
How does the internal authentication work in sas? : sas-grid-administration
What system options would you use to help debug a macro? : sas-macro
what are the benefits of data integration? : Sas-di
Explain the difference between using drop = data set option in set and data statement?
Why double trailing @@ is used in input statement?
What are the functions used for character handling?
What are the uses of sas?
in the flow of data step processing, what is the first action in a typical data step? : Sas programming
Is the physical structure of the data set in the same orientation as the report? Do you need to reshape the data sets? What method should you use to reshape the data–DATA steps,PROC TRANSPOSE,output data set from a procedure?
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.
This entry was posted in General. Bookmark the permalink. Post a comment or leave