Perform the following steps to register a table that does not exist:
-
Display the New Tables
wizard in one of the following ways:
-
Right-click the folder in the
Folders tree where metadata for the new table should
be saved. Then select
NewTable.
-
Select
FileNewTable.
-
Select
NewTable on the
SAS Data Integration Studio toolbar.
The New Table wizard
opens.
-
Enter a name and description for the table that you want to register. Note that the
metadata object might or might not have the same name as the corresponding physical table. You specify
a name for the physical table in a later window in this wizard.
-
Verify that the folder
in the Location field is the folder where the metadata for the table
should be stored. If not, click
Browse to
select the correct folder.
-
Click
Next to access the Table Storage Information page. Enter appropriate
values in the following fields:
-
-
-
Name (must
follow the rules for table names in the format that you select in
the DBMS field. For example, if SAS is the
selected DBMS, the name must follow the rules for SAS data sets. If
you select another DBMS, the name must follow the rules for tables
in that DBMS. For a SAS table or a table in a database management
system, you can enable the use of mixed-case names or special characters
in names.)
-
Schema (if required by DBMS type)
Use the Table Storage Information page to specify the format and location of the table
that you are registering. You also specify the database management system that is
used to create the target, the library where the target is to be stored, and a valid
name for the target. You
can specify new libraries or edit the metadata definitions of existing libraries by
using the New and Edit buttons. You can use the Table Options button
to specify options for SAS tables and tables in a DBMS. The following
display shows these settings for a sample table.
You can handle case-sensitive
and special characters in tables and column names by selecting the
respective check box.
-
Click
Next to access the Select Columns page. Use the Select Columns page to
import column metadata from existing tables that are registered for
use in SAS Data Integration Studio.
-
Drill down in the
Available Columns field to find the columns that you need for the target table. Then, move the selected
columns to the
Selected Columns field.
-
Click
Next to access the Change Columns/Indexes page. Use this window to accept
or modify any column metadata that you selected in the Select Columns
page. You can add new columns or modify existing columns in various
ways. (For details, click the
Help button
for the window.)
-
Click
Next when you are finished reviewing and modifying the column metadata.
If you change the default order of the column metadata, you are prompted
to save the new order.
-
Click
Next to access the page labeled as
The following metadata
is created. Review the created metadata. When you are
satisfied that the metadata is correct, click
Finish to save the data and close the wizard.