delete from {bd}.{tabla} where {campo_padre}=(select @id);
