Chapter 3 DBMS Reference Guide
The Key category is located in the Root→Script→Objects category, and can contain the following items that define how keys are modeled for your DBMS.
| Item | Description |
|---|---|
| [Common items] | The following common object items may be defined for keys:
For a description of each of these common items, see Common object items. |
| AKeyComment | Specifies a statement for adding an alternate key comment. |
| AllowNullable Coln |
Specifies whether non-mandatory columns are permitted. The following settings are available:
|
| EnableCluster | Specifies whether clustered constraints are permitted on alternate keys.
|
| SqlAkeyIndex | Specifies a reverse-engineering query for obtaining the alternate key indexes of a table by live connection.
Example (SQL Anywhere 10): select distinct i.index_name
from sys.sysuserperms u
join sys.systable t on
(t.creator=u.user_id)
join sys.sysindex i on
(i.table_id=t.table_id)
where i."unique" not in ('Y', 'N')
[ and t.table_name = %.q:TABLE%]
[ and u.user_name = %.q:SCHEMA%]
|
| UniqConstAuto Index |
Determines whether a Create Index
statement is generated for every key statement. The following settings are available:
|
| Copyright (C) 2007. Sybase Inc. All rights reserved. |
| |