Following is the syntax diagram for the column constraint definition:
►►─┬─ NOT NULL ─┬────────────────┬─┬───────────────┬───────────┬──────────────► │ └─ WITH DEFAULT ─┘ ├─ PRIMARY KEY ─┤ │ │ └─ UNIQUE ──────┘ │ ├─ REFERENCEStable-name ─┬──────────────────┬─┬───────────┬─┤ │ └─ (ref-col-name) ─┘ └─ ref-act ─┘ │ └─ CHECK(search condition) ─────────────────────────────────┘ ►─┬─────────────────────────────┬────────────────────────────────────────────►◄ └─ CONSTRAINTconstraint-name ─┘
Note:
WITH DEFAULT is a CA Datacom/DB extension.
|
Copyright © 2014 CA.
All rights reserved.
|
|