Home > Managing Database Objects w... > Managing Tables > Editing a Table
Previous |
Next |
While viewing a table description, you can edit it by clicking the buttons above the table description.
To edit a table:
On the Workspace home page, click SQL Workshop and then Object Browser.
Object Browser appears.
From the Object list, select Tables.
From the Object Selection pane, select a table.
The table description appears.
Click the appropriate button described in Table: Edit Table Buttons.
Edit Table Buttons
Button | Description |
---|---|
Adds a column to the table. Enter a column name and select a type. Depending upon the column type, specify whether the column requires a value, the column length, precision, and scale. |
|
Modifies the selected column. |
|
Renames the selected column. |
|
Drops the selected column. |
|
Renames the selected table. |
|
Copies the selected table. |
|
Drop |
Drops the selected table. See Also: "Using the Recycle Bin to View and Restore Dropped Objects" |
Removes all rows from the selected table. Truncating a table can be more efficient than dropping and re-creating a table. Dropping and re-creating a table may invalidate dependent objects, requiring you to regrant object privileges or re-create indexes, integrity constraints, and triggers. |
|
Creates a lookup table based on the column you select. That column becomes a foreign key to the lookup table. |