What happens in the following code, if u type 8 instead of
*?
proc sql noprint;
create table abc as
select 8 from lib.abc;
quit;
Answer Posted / ragg
it will just print '8' many times in output window
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Which function is used to count the number of intervals between two sas dates?
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.
I need level 2 to 5 sas using companies in india
What system options would you use to help debug a macro? : sas-macro
Do we follow ADAM in analysis dataset development?How? Usually which version? Why is it necessary?
How does proc sql work?
How do you delete duplicate observations in sas?
What is the function of Stop statement in a SAS Program?
what is data governance? : Sas-di
How is character variable converted into numeric variable and vice versa?
What is the basic syntax style in SAS?
what is PhaseIII, ODS, TLG, Macro and Proc in SAS
What is program data vector (pdv)?
Do you need to rearrange the order of the data for the report?
what is enterprise guide? What is the use of it? : Sas programming