Viewing the Query Code That Is Used to Create a Table

While you select options and customize the table to look the way you want it to, SAS Studio is generating SAS code that you can use. To view the query code, click Display the query that creates the current table button on the toolbar. A new program window appears with the code that was used to create the view of the table in the table viewer. The program is a copy of the query code and is no longer associated with the original query. Editing the code does not affect the data that is displayed in the table viewer, and modifying the table viewer does not affect the contents of the code.