Can we replace a dataset into view?

Answer Posted / sriraghubabu

yes, we can replace dataset into view in Proc sql.
example:

proc sql;
create view newemp as
select *
from Employee
group by name;
select * from newemp;
quit;

now the data set is replaced into view..

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a method to debug and test your SAS program?

726


what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake

1919


what is enterprise guide? What is the use of it? : Sas programming

540


I have a dataset concat having a variable a b & c. How to rename a b to e & f?

764


explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di

550






how to generate the test data in sas without input data? : Sas-administrator

582


How to convert a numeric variable to a character variable?

634


do you prefer proc report or proc tabulate? Why? : Sas programming

579


I have a SCD Type 2 Dimention for Location In which A Sales Office in Having two Surrogate Keys just because of the change in it's Sales Group. SKey SalesGroup Sales Office BeginDate EndDate 280 SG1 SO1 01APR2000 01APR2010 281 SG2 SO1 02APR2010 31MAR2999 Now while loading the Fact, the Lookup ir returning SKey 280 for records before and after 01APR2010. I am not able to give WHERE condition in the Lookup Properties (TranDate between BeginDate and EndDate). Please help.

1700


What are the features of SAS?

582


what is SAS OPTIMIZATION?

1818


Explain append procedure?

636


what can you learn from the sas log when debugging? : Sas programming

612


How to specify variables to be processed by the freq procedure?

619


What is the SAS data set?

679