Can we replace a dataset into view?

Answers were Sorted based on User's Feedback



Can we replace a dataset into view?..

Answer / jyotshna

yes we can replace dataset into view

syntax:
data librefname.datasetname/view=librefnmae.datasetname;
run;
sample:
data aa/view=aa;
set sashel.class;
run;

Is This Answer Correct ?    3 Yes 2 No

Can we replace a dataset into view?..

Answer / vivek

proc sql;
create view <viewname> as
select *
from <Datasetname>;
quit;

Is This Answer Correct ?    1 Yes 0 No

Can we replace a dataset into view?..

Answer / gk

yes we can replace a data set with view by a procedure
called datasets

Is This Answer Correct ?    2 Yes 2 No

Can we replace a dataset into view?..

Answer / arun & g.n.rao

IT CAN BE DONE USING PROC SQL.

Is This Answer Correct ?    1 Yes 1 No

Can we replace a dataset into view?..

Answer / 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

Can we replace a dataset into view?..

Answer / guest

yes we can
ex: data aa/view=bb;
input variables;
datalines;
run;

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More SAS Interview Questions

what is chi-square test? have you used that?

1 Answers   Accenture, Quintiles,


why only we use SAS? their r many programmin language like SPSS, Oracle... Why SAS?

2 Answers   Accenture,


Name statements that are execution only.

4 Answers  


Mention few capabilities of sas framework.

0 Answers  


What are the uses of sas?

0 Answers  






Write SAS codes to compare two datasets. Suppose the allowable difference is 0.1.

2 Answers  


What is substr function?

0 Answers  


what are the methods that you would employ to fine tune your SQL extract process using SAS/Access or Proc SQL?

1 Answers  


In the following DATA step, what is needed for ‘fraction’ to print to the log? data _null_; x=1/3; if x=.3333 then put ‘fraction’; run;

1 Answers  


Why is a STOP statement needed for the point=option on a SET statement?

2 Answers   Quintiles,


What is the difference between order and group variable in proc report?

0 Answers  


how do you test for missing values? : Sas programming

0 Answers  


Categories