What is the difference between SAS Data step and SAS PROC SQL,
and which is better?

Answer Posted / pallavi

1)Syntax is different
2
3)benefit of PROC SQL is its ability to process unsorted
data and create tables in a sorted fashion
4)Performing an OUTER UNION is very similar to the DATA step
with a SET statement referencing two or more data sets
5)Establish a connection with a RDBMS a)LIBNAME in dataset
b)CONNECT DISCONNECT in proc SQL

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between %put and symbolgen? : sas-macro

912


What are the default statistics for means procedure?

872


What is the good sas programming practices for processing large data sets?

857


How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?

2582


What is the length assigned to the target variable by the scan function?

890


State the difference between INFORMAT and FORMAT ?

799


How do you debug and test your SAS programs?

1258


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

2412


What is proc sort?

891


How does proc sql work?

816


how do you test for missing values? : Sas programming

778


how could you generate test data with no input data? : Sas programming

873


explain about various caches available in data integrator? : Sas-di

788


How many data types are there in SAS?

806


what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming

822