Home
Oracle PL / SQL
Aggregate Functions
Analytical Functions
Char Functions
Constraints
Conversion Functions
Cursor
Data Type
Date Timezone
Hierarchical Query
Index
Insert Delete Update
Large Objects
Numeric Math Functions
Object Oriented Database
PL SQL
Regular Expressions
Report Column Page
Result Set
Select Query
Sequence
SQL Plus
Stored Procedure Function
Subquery
System Packages
System Tables Views
Table
Table Joins
Trigger
User Previliege
View
XML
Menu
Create Primary Key « Constraints « Oracle PL / SQL
Oracle PL / SQL
Constraints
Create Primary Key
1.
Using a CREATE TABLE statement: create a table with primary key
2.
Create a foreign key "set null on delete" with more than one field, and use desc to check
3.
Violate the primary key and foreign key relation
4.
ORA-12991: column is referenced in a multi-column constraint
5.
One-to-one using a primary-key and foreign-key relationship
6.
Use three columns as primary key
7.
Set primary key when declaring a column