SQL Anywhere Studio Help
Adaptive Server Anywhere Help
Introduction to dialog boxes
The Set Primary Key dialog has the following components:
Table Shows the name of the selected table.
Specify a primary key for this table Select this option to enable the options below where you can name and choose a primary key for the selected table.
Name Shows the name of the primary key. You can edit the name in the adjacent field. Primary keys can be named for tables in Adaptive Server Anywhere databases that are version 9 and higher.
Columns list Shows all the columns in the table. Place a checkmark in the checkbox beside the column name to make the column a primary key column. Clear the checkbox to remove a column from the primary key.
Create a clustered primary key Select this option if you wish the primary key to have a clustered index. Note that only one index on a table can be a clustered index.