Practice for the SAS advance certification exam.
A view cannot be used in a join.
A view accesses the most current underlying data.
A view follows the same naming conventions as a table.
A view can be used in SAS programs in place of an actual SAS data file.
Rate this question:
Views often save space, because a view is usually quite small compared with the data that it accesses.
Views prevent users from continually submitting queries to omit unwanted columns or rows.
Views hide complex joins or queries from users.
All of the above
Rate this question:
proc sql; insert into sasuser.newview select * from sasuser.payrollmaster;
proc sql; create sasuser.newview as select * from sasuser.payrollmaster;
proc sql; create view sasuser.newview as select * from sasuser.payrollmaster;
proc sql; select * from sasuser.payrollmaster into view sasuser.newview;
Rate this question:
proc sql; select * from sasuser.payrollmasterv;
proc sql; describe view sasuser.payrollmasterv;
proc sql; list sasuser.payrollmasterv;
proc sql; contents view=sasuser.payrollmasterv;
Rate this question:
proc sql; select * from data.empview;
proc sql; select * from view data.empview;
proc sql; select view * from data.empview;
proc sql; select * from data where view='empview';
Rate this question:
proc sql; insert into sasuser.newview select * from airline.supervisors libname airline 'c:\mysql';
proc sql; create view sasuser.newview as from airline.supervisors embed libname airline 'c:\mysql';
proc sql; using airline 'c:\mysql'; insert into sasuser.newview select * from airline.supervisors;
proc sql; create view sasuser.newview as select * from airline.supervisors using libname airline 'c:\mysql';
Rate this question:
A SAS data file.
Another PROC SQL view.
A relational database table.
All of the above
Rate this question:
Avoid using an ORDER BY clause in a view.
Avoid creating views that are based on tables whose structure might change.
Specify a one-level name in the FROM clause if the view resides in the same SAS data library as the contributing table(s).
All of the above
Rate this question:
The view is joined or linked to another table.
The view contains a subquery.
The view contains a WHERE clause.
All of the above
Rate this question:
proc sql; delete sasuser.newview;
proc sql; drop view sasuser.newview;
proc sql; erase view sasuser.newview;
proc sql; remove newview from sasuser;
Rate this question:
Quiz Review Timeline +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.