Create a unique table constraint to require that all non-null values in specified columns be unique.
Before you can create a unique constraint, be sure that the data server containing the tables is running, and you created and established a connection to the data server.
Field | Description |
---|---|
Fill Factor | Choose the fill factor setting, which specifies how full the data server makes each page when it creates a new unique constraint on existing data. The default is 0. |
Maximum Rows per Page | Specify the maximum number of rows on data pages and the leaf-level pages of indexes. The default is 0. |
Reserve Page Gap | Specify the ratio of filled pages to empty pages to be left during I/O allocation operations. For each specified number of pages, an empty page is left for future expansion of the index. Valid values are 0 - 255. The default is 0. |
Create on Segment | Specify whether to create the unique constraint on a default or system segment. |
Clustered | Specify whether to make the unique constraint clustered. |
Field | Description |
---|---|
Generate Script | Generate DDL for the unique constraint. |
Enter or Select the Parent Folder | Specify an existing project or create a new project in which to save the DDL. |
File Name | Enter the name of the file in which to store the DDL. |
Execute Immediately | Execute the DDL immediately. If you do not select this option, you must complete execution of the DDL later to create the unique constraint. |
Open in Editor After Creation | Create the unique constraint, and then open it in the Table Schema Editor. |
For product-related issues, contact Sybase Technical Support at 1-800-8SYBASE. Send your feedback on this help topic directly to Sybase Technical Publications: pubs@sybase.com