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.
No Answer is Posted For this Question
Be the First to Post Answer
Name statements that are recognized at compile time only?
How to sort in descending order?
How to convert .xls file into CSV format?
What would be the result of the following SAS function (given that 31 Dec, 2000 is Sunday)?
i want to upload titles and footnotes to excel file?how it is possible?
Name any two sas spawners? : sas-grid-administration
How is character variable converted into numeric variable and vice versa?
Explain what is SAS informats?
what is the difference between compiler and interpreter? give any one example (software product) that act as a interpreter?
36 Answers Accenture, College School Exams Tests, CTS, IBM, IHRD, Infosys, Sylhet Engineering College, TCS, Wipro,
What is maximum storage capability of SAS?
what is change analysis in sas di ? : Sas-di
What is the order of evaluation of the following operators + - * / ** () ???