Advertisement
Guest User

Untitled

a guest
May 27th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. CREATE TABLE IF NOT EXISTS `SUBEdb`.`DocumentoPersona` (
  2. `idDocumento` INT NOT NULL AUTO_INCREMENT,
  3. `numero` INT(4) NOT NULL,
  4. `tipo` INT NOT NULL,
  5. PRIMARY KEY (`idDocumento`),
  6. CONSTRAINT `fk_DocumentoPersona_Persona1`
  7. FOREIGN KEY (`idDocumento`)
  8. REFERENCES `SUBEdb`.`Persona` (`idPersona`)
  9. ON DELETE NO ACTION
  10. ON UPDATE NO ACTION)
  11. ENGINE = InnoDB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement