Return to Snippet

Revision: 70970
at October 27, 2016 13:23 by ironcrema


Initial Code
ALTER TABLE `empleado`
  ADD CONSTRAINT `fk_Empleado_Ubigeo` FOREIGN KEY (`CodigoUbigeo`) REFERENCES `ubigeo` (`CodigoUbigeo`) ON DELETE CASCADE ON UPDATE CASCADE;
  
  ALTER TABLE `empleado`
  ADD CONSTRAINT `fk_Empleado_Ubigeo` FOREIGN KEY (`CodigoUbigeo`) REFERENCES `ubigeo` (`CodigoUbigeo`) ;

Initial URL

                                

Initial Description
Add foreign key relationship

Initial Title
Add foreign key realtionship

Initial Tags

                                

Initial Language
Other