Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How we can create SAS USER DEFINED CODE?

2099


i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm

2375


How can I remove header from output data set?

2626


WHAT IS SAS WEB SERVICE and what are the steps to create an xml service ?

2801


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

1437


What is the role of sas grid administrator? : sas-grid-administration

1291


What was the last computer book you purchased? Why?

2374


what do the mod and int function do? What do the pad and dim functions do? : Sas programming

1171


what is null hypothesis? why do you consider that?

2903


Did you used proc test? when?

2041


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.

2207


how will you location sas platform applications available from web browser? : Sas-bi

1076


Describe a time when you were really stuck on a problem and how you solved it?

2638


How are numeric and character missing values represented internally?

1659


How to create an external dataset with sas code?

1159