5.7. Summary
Creating a table using a column-definition list is similar to defining a table’s structure with the LENGTH statement in the DATA step (see section 5.2.1).
Using the LIKE clause copies the column names and attributes from the existing table structure to the new table structure (see section 5.2.2).
Deriving a table from an existing table stores the results in a new table instead of displaying them as SAS output (see section 5.2.3).
In populating a table, three parameters are specified with an INSERT INTO statement: the name of the table, the names of the columns in which values are inserted, and the values themselves (see section 5.3.1).
Database-enforced constraints can be applied to a database table structure to enforce the type and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access