PROC SQL <option(s)>;
|
ALTER TABLE
table-name
|
<ADD <CONSTRAINT> constraint-clause<, ...
constraint-clause>>
|
|
<ADD column-definition<, ...
column-definition>>
|
|
<DROP CONSTRAINT constraint-name <, ...
constraint-name>>
|
|
<DROP column<, ...
column>>
|
|
<DROP FOREIGN KEY
constraint-name>
|
|
<MODIFY
column-definition<, ... column-definition>>
| ;
|
|
CREATE
<UNIQUE> INDEX index-name
|
ON table-name ( column <, ...
column>);
|
|
|
CREATE TABLE table-name
|
(column-specification<,
...column-specification | constraint-specification>)
| ;
|
|
CREATE TABLE table-name
LIKE table-name2;
|
|
CREATE TABLE table-name AS query-expression
|
<ORDER BY
order-by-item<, ... order-by-item>>;
|
|
|
CREATE VIEW
proc-sql-view AS query-expression
|
<ORDER BY order-by-item<, ...
order-by-item>>
|
|
<USING libname-clause<, ...
libname-clause>> ;
|
|
|
DELETE
|
FROM table-name|proc-sql-view |sas/access-view <AS
alias>
|
|
|
DESCRIBE TABLEtable-name <, ... table-name>;
|
|
DESCRIBE
VIEW proc-sql-view <, ... proc-sql-view>;
|
|
DESCRIBE TABLE
CONSTRAINTS table-name <, ... table-name>;
|
|
DROP
INDEX index-name <, ... index-name>
FROM table-name;
|
|
DROP TABLE table-name <, ...
table-name>;
|
|
DROP
VIEW view-name <, ... view-name>;
|
|
INSERT INTO
table-name|sas/access-view|proc-sql-view <(column<, ...
column>)>
|
SET column=sql-expression
<, ... column=sql-expression>
|
|
<SET column=sql-expression
<, ... column=sql-expression>>;
|
|
|
INSERT INTO
table-name|sas/access-view|proc-sql-view <(column<, ...
column>)>
|
VALUES (value <, ... value>)
<... VALUES (value <, ...
value>)>;
|
|
|
INSERT
INTO table-name|sas/access-view|proc-sql-view
<(column<, ...column>)> query-expression;
|
|
SELECT <DISTINCT> object-item <,
...object-item>
|
|
<INTO macro-variable-specification
<, ... macro-variable-specification>>
|
|
<GROUP BY
group-by-item
<, ... group-by-item>>
|
|
<ORDER BY order-by-item
<, ... order-by-item>>;
|
|
|
|
UPDATE
table-name|sas/access-view|proc-sql-view <AS alias>
|
SET column=sql-expression
<, ... column=sql-expression>
|
|
<SET column=sql-expression
<, ... column=sql-expression>>
|
|
|
VALIDATE query-expression;
|
|