CoderZone.org

Category: >> Oracle PL/SQL >> Add constraint example Bookmark and Share

<< lastnext >>

Snippet Name: Add constraint example

Description: Example of adding a constraint.

Also see:
» Check Constraint - Create
» Unique Constraint
» Primary Key Constraint
» Foreign Key Constraints
» Current_timestamp
» Deferring Constraint Checking
» Add Primary Key Constraint example
» Constraint Checks

Comment: (none)

Author: CoderZone
Language: PL/SQL
Highlight Mode: PLSQL
Last Modified: March 20th, 2009

ALTER TABLE airplanes
ADD CONSTRAINT program_fk FOREIGN KEY ( program_id )
REFERENCES programs ( program_id );
 
There haven't been any comments added for this snippet yet. You may add one if you like.  Add a comment 
© coderzone.org | users online: 6