Delete a column from the table. If the table has only one column, you cannot delete
it.
Prerequisites
Database Version |
Table Column Privileges |
SAP Sybase IQ 15.3 and 15.4 |
Deleting a column without a primary key or unique constraint – you must
have one of:- DBA authority
- Both ALTER permission on the table
- You own the underlying table
Deleting a column with a primary key or unique constraint – you
must have one of:- DBA authority
- Both ALTER and REFERENCE permission on the
table
- You own the underlying table
|
SAP Sybase IQ
16.0
|
Deleting a column without a primary key or unique constraint – you must
have one of:- ALTER ANY TABLE system privilege
- ALTER ANY OBJECT system privilege
- ALTER permission on the underlying table
- You own the underlying table
Deleting a column with a primary key or unique constraint – you
must have one of:- ALTER ANY TABLE system privilege
- ALTER ANY OBJECT system privilege
- Both ALTER and REFERENCE permission on the
underlying table
- You own the underlying table
|
-
The table has more than one column.
-
The SAP Sybase IQ resource is authenticated and
running.
-
In a multiplex
configuration, the coordinator node is running.
Task- In the Perspective Resources view, select the resource, and
select .
- In the left pane, expand , and then select
Tables or Global Temporary
Tables.
- Select a table from the right pane and either:
- Click the arrow to the right of the name and select
Properties, or
- From the Administration Console menu bar, select .
The Table Properties view appears.
- In the left pane, click Columns and in the right pane,
select a column and click Delete.
Warning! No confirmation prompt appears before the column is deleted.
- Do one of:
- Click OK to update any changes to the
database and exit the properties view.
- Click Apply to update any changes to the database, but
remain in the properties view.
- Click Cancel to cancel any changes not
updated to the database and exit the properties view.