Add Constraint Example

Submitted by:David Villa

Date added:10 September, 2011

Category:PL SQL

Example of adding a constraint

Tags: add constraint

Code Snippet:

ALTER TABLE table_name
ADD CONSTRAINT program_fk FOREIGN KEY ( program_id )
REFERENCES programs ( program_id );
 
 

Comments