Chapter Contents |
Previous |
Next |
Doing More with SAS/ASSIST Software |
You can create a table from a query using the SQL Editor window or the Query window.
In all operating environments, you can create SAS tables and views. In OS/390, you can also create DB2 tables. In some cases you must be granted certain access or privileges to create new tables. If you do not have these privileges, contact your SAS Support Consultant or database administrator.
To create a table from your query results, run your query, then return to the Query window by selecting Close from the File menu. Follow the instructions in one of the following two sections, depending on which type of table you want to create.
Creating a New SAS Table or View |
Follow these steps to create a new SAS table or view from your query results:
Tools | Create Table | SAS |
SAS Table/View Creation Status Window
Creating a New DB2 Table (OS/390 Only) |
In OS/390, to save the results of your query to a DB2 table, do the following:
Tools | Create Table | DB2 |
Note: If you plan to use DB2 data in several SAS programs,
you usually get better SAS performance if you save the DB2 data to a SAS table
or SAS view.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.