0% found this document useful (0 votes)
21 views

What Is The SQL Procedure

PROC SQL is SAS's implementation of the Structured Query Language (SQL). It allows users to retrieve, combine, create, update, and generate reports from SAS data sets and tables from other database management systems. Key functions of PROC SQL include retrieving and combining data from tables, creating new tables and views, updating table data values, and generating reports and summary statistics. PROC SQL tables are equivalent to SAS data sets, with rows corresponding to observations and columns corresponding to variables.

Uploaded by

ganesh
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

What Is The SQL Procedure

PROC SQL is SAS's implementation of the Structured Query Language (SQL). It allows users to retrieve, combine, create, update, and generate reports from SAS data sets and tables from other database management systems. Key functions of PROC SQL include retrieving and combining data from tables, creating new tables and views, updating table data values, and generating reports and summary statistics. PROC SQL tables are equivalent to SAS data sets, with rows corresponding to observations and columns corresponding to variables.

Uploaded by

ganesh
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

What Is the SQL Procedure/Proc SQL?

The SQL procedure is SAS implementation of Structured Query


Language. PROC SQL is part of
Base SAS software, and you can use it with any SAS data set (table).
Often, PROC SQL can be
an alternative to other SAS procedures or the DATA step. You can use
SAS language elements
such as global statements, data set options, functions, informats, and
formats with PROC SQL
just as you can with other SAS procedures.
PROC SQL can
Retrieve data from tables or views
Combine data from tables or views
Create tables, views, and indexes
Update the data values in PROC SQL tables
Update and retrieve data from database management system (DBMS)
tables
Generate reports
Generate summary statistics
Terminology
What is Table?
Proc SQL table is same as SAS DATASET /DATAFILE. It consists Rows
and Columns.
The rows correspond to observations, and the columns correspond to
variables in SAS
Datafile. You can create and modify tables by using the SAS DATA step,
or by using the PROC
SQL statements.
SQLTERMINOLOGY SAS TERMINOLOGY DATA PROCESSING TERMINOLOGY
TABLE SAS DATSET/ DATA FILE FILE
ROW OBSERVATION RECORD
COLUMN VARIABLE FIELD

You might also like