Hi to all,
I have to delete some rows from a table based on timestamp, but this table has foreign key relationship with other table.
So before I can delete rows from this table, I need to delete related rows from other table.
But this other table also has foreign key relationship with third table, and third table with 4th table.
So basically I will need to delete the rows from 4th Table, before I can delete third table rows, and so on.
What is the best way to achieve this.
Thanks