P2Pprogrammer 2 programmer

Home > Programmer2Programmer.NET Forum> SQL Server >> To create foreign key...

Welcome Guest My Thread | Search | Active Topics | Members | Log In | Register

NOTE : Log In required to post Replies for this discussion.
To create foreign key
johnson10013 Posted: Wednesday 23, October 2013 06:58:01 AM     
   
Hai everyone. I am new to this forum. Can anyone tell me the co
des to create foreign key
Back to Top ^  
 AtanuMaity Posted: Wednesday 23, October 2013 06:23:47 PM
  
   
In Oracle
===============
CONSTRAINT fk_supplier  --key name
FOREIGN KEY (supplier_id) -- FK key field
REFERENCES supplier(supplier_id) -- PK Field
Back to Top ^ 


Home > Programmer2Programmer.NET Forum >SQL Server >> To create foreign key...