IntroductionBy using PROC SQL, you can create, modify, and drop (delete) tables quickly and efficiently. Many PROC SQL statements are quite versatile, enabling you to perform the same action in several different ways. For example, there are three methods of creating a table by using the CREATE TABLE statement:
The following PROC SQL step uses the CREATE TABLE statement to create an empty table by defining columns, and uses the DESCRIBE TABLE statement to display information about the table's structure in the SAS log: |
proc sql; create table work.discount (Destination char(3), BeginDate num Format=date9., EndDate num format=date9., Discount num); |
1 proc sql; create table WORK.DISCOUNT( bufsize=4096 ) ( |
In this lesson, you will learn to create and manage tables by using the PROC SQL statements shown above, and many others. |
3 hours |
In this lesson, you learn to
|
complete the following lessons:
|