O'Reilly logo

The Little SAS® Book for Enterprise Guide® 4.1 by Lora D. Delwiche, Susan J. Slaughter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

2.8. Inserting Columns in SAS Data Tables

When you insert a column in a SAS data table, the change is permanent whether you save your project or not. So, as with other editing tasks, you may want to save a copy of the table before inserting a column. Also, you can insert columns only while your table is in update mode. See section 2.6 for details about saving a copy of a data table, and changing to update mode.

Here is a copy of the Tours data table with the row that was added in the previous section.

Inserting a Column

To add a column to a data table, right-click the column heading next to the place where you want to add a column, and select ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required