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 ...

Get The Little SAS® Book for Enterprise Guide® 4.1 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.