martes, 13 de agosto de 2013

CASCADE DELETE in PostgreSQL

DELETE FROM some_child_table WHERE some_fk_field IN SELECT some_id FROM some_Table;
DELETE FROM some_table;

No hay comentarios:

Publicar un comentario