Create a primary key to specify the column or columns whose values uniquely identify a row in a table.
Before you can create a primary key, be sure that the data server containing the table for which you are creating a primary key 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 primary key 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 primary key on a default or system segment. |
Clustered | Make the primary key clustered. |
Field | Description |
---|---|
Generate Script | Generate DDL for the primary key. |
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 primary key. |
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