Attribute
|
Description
|
Instructions
|
---|---|---|
Name
|
The SASColumnName of
the column. This matches the physical name.
|
Perform the following
steps to enter a name:
|
Description
|
This can be the label
of the column, and shows up as the label in the generated code.
|
Perform the following
steps to enter a description:
|
Type
|
The type can be either
numeric or character.
|
Perform the following
steps to enter the data type:
|
Length
|
This is the length of
the column.
|
Perform the following
steps to enter the column length:
|
Informat
|
This specifies a pattern
or set of instructions that SAS uses to determine how data values
in an input file should be interpreted.
|
Perform the following
steps to enter an informat:
|
Format
|
This specifies a pattern
or set of instructions that SAS uses to determine how to display information.
|
Perform the same steps
as for informat.
|
Is Nullable
|
This is used to determine
whether the integrity constraint IsNullable is set for a specific
column. This determines whether a column might have a value of null.
|
Perform the same steps
as for type.
|
Summary Role
|
This is used for information
purposes only.
|
Perform the same steps
as for type.
|
Sort Order
|
This is used for information
purposes only.
|
Perform the same steps
as for type.
|
Task
|
Action
|
---|---|
Delete Metadata for
a Column
|
Perform the following
steps to delete the metadata for a column in the current table:
Note: When you modify or delete the metadata for a column in a table and that table
is used in a SAS Data Integration Studio job, you might also have to make the same modifications to other tables in the job. For
example, if you change the data type of a column and that table is used as a source in a job, then you need to change the data type of that column in the target table and in the temporary work tables in the transformations in that job.
Changes to column metadata
in SAS Data Integration Studio do not appear in the physical table
automatically. You must select the Replace in the Load
Style field and the Entire table in the Replace field
on the Load Technique tab of the Table Loader
transformation that loads the current table.
Column level impact analysis can help you gather information about deleting metadata for a column. To perform
impact analysis, right-click on a table and select Analyze. Note that you can also obtain information about reverse impact analysis on another tab in the same window.
|
Import Metadata for
a Column
|
Perform the following steps to import column metadata that has been added to the metadata server that is specified in your current connection profile:
|
Maintain Indexes
|
Indexes are registered automatically when using Register tables to register metadata about existing tables. Indexes are imported correctly when import/export
is used. Update table metadata also updates indexes. See Maintaining Indexes.
|
Maintain Keys
|
Primary, foreign, and unique keys are registered automatically when using Register
tables to register metadata about existing tables. Keys are imported correctly when
import/export is
used. Update table metadata also updates them, although currently it does not handle
foreign key updates.
It is important when working with foreign keys to include ALL of the tables that are
related in a single registration. Otherwise, foreign key relationships cannot be maintained.
See Maintaining Keys.
|
Propagate Column Metadata
from One Table to Other Tables in a Job
|
|
Reorder Columns and
Rows
|
You can rearrange the
columns in a table (without sorting them) by dragging a column to
a new location. You can reorder rows by (1) using the arrow buttons
at the top of the window, or (2) dragging a column to a new location
by dragging the column-number cell.
|
Restore the Order of
Columns
|
Click the column number
heading to restore all of the rows to their original order.
|
Save Reordered Columns
|
Some windows enable
you to change the default order of columns. Then, you can save that
new order in the metadata for the current table or file. If you can
save reordered columns before you exit the current window, SAS Data
Integration Studio displays a dialog box that asks whether you want
to save the new order.
|
Sort Columns
|
You can sort the columns
in a table based on the value of any column attribute (such as Name
or Description) in either ascending or descending order. For example,
you can sort the columns in ascending order by name by clicking the
Name heading. To sort the columns in descending order by name, you
can click the same heading a second time.
|
View or update extended
attributes for columns
|
From the Columns tab,
select the desired column, and then click the Properties icon in the
toolbar. In the properties window, click the Extended
Attributes tab. Use this tab to view or update extended
attributes.
|