Chapter 3 Building Physical Diagrams


Keys (PDM)

A key is a column, or a combination of columns, that uniquely identifies a row in a table. Each key can generate a unique index or a unique constraint in a target database.

The physical diagram supports the following types of keys:

Example

The TITLE table shown below has a primary, alternate and foreign key:


The TITLE table also contains the foreign key column PUBLISHER ID. This column references the primary key column in the Publisher table.

 


Copyright (C) 2007. Sybase Inc. All rights reserved.