how do u test a pros sql(works or not) without executing it?

Answer Posted / amit gupta

you have 2 different ways for that.
1. using Noexec option
2 using Validate option

Noexec option checks the all queries written in proc sql
step while Validate checks only single query.

syntex:
Proc sql noexec;
create table stu as
select name from student;

create table emp as
select empname from employee;
quit;

In this example noexec will check the syntex of both query.

proc sql;
validate
select * from emp;
validate
select * from stu;
quit;

In this validate will check each query individually.

Is This Answer Correct ?    29 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the automatic variables for macro? : sas-macro

765


Tell e how how dealt with..

1869


What is Linear Regression?

774


What are the parameters of scan function?

730


List out some key concept of SAS

701






Explain bmdp procedure?

710


how do you pull data from equifax?tell me the process?

1466


how can you create zero observation dataset? : Sas programming

757


What is the function of output statement in a SAS Program?

702


What is a macro routine?

2211


What are the table names in oracle database...?

2372


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

686


why is sas data integration studio important? : Sas-di

672


What are the applications primarily used by business analyst? : Sas-bi

643


what is slowly changing dimension? : Sas-di

732