Display the data description language SQL code for adding a constraint to a table.
The DDL can be a useful reference and training tool.
Prerequisites
Database Version |
Table Constraint Privileges |
SAP Sybase IQ 15.3 and 15.4 |
None
|
SAP Sybase IQ
16.0 |
None
|
- The SAP Sybase IQ resource is authenticated and
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 or Global Temporary Table Properties view appears.
- Select Constraints.
- Select a constraint from the list and select Generate
DDL.
The DDL window shows the SQL code used to add the constraint to the table.