
• 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
• modify a PROC SQL table by adding, modifying, or dropping columns
PROC SQL can be used in an interactive SAS session or within batch programs, and it
can include global statements, such as TITLE and OPTIONS.
Terminology
Tables
A PROC SQL table is the same as a SAS data file. It is a SAS file of type DATA. PROC
SQL tables consist of rows and columns. The rows correspond to observations in SAS
data files, and the columns correspond ...