Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - SQL Usage » Working with Database Objects » Working with tables » Managing primary keys

Managing primary keys Next Page

Managing primary keys (Sybase Central)

A primary key is a column, or set of columns, that is used to uniquely identify rows in a table. Primary keys are typically created at table creation time; however, they can be modified at a later time. In Sybase Central, you access the primary key for a table in one of two ways:

To configure a primary key (Sybase Central)
  1. In the left pane, open the Tables folder.

  2. Select the table for which you want to create or modify the primary key, and choose File > Set Primary Key.

    The Set Primary Key wizard appears.

  3. Follow the instructions in the wizard to create or modify the primary key.

  4. When you have finished configuring the primary key in the Set Primary Key wizard, select Finish.

    The new primary key information is automatically saved for the table.