Agregar LLave Foránea MySql


/ Published in: MySQL
Save to your folder(s)

Convierte un campo de una tabla a llave foránea


Copy this code and paste it in your HTML
  1. ALTER TABLE modulo ADD FOREIGN KEY (idciudad) REFERENCES ciudad(idciudad);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.