I have list of tables (Mysql) where some of them have reference.
I want to to generate delete script for all the tables based on time column.
NOTE: we can not user delete Cascade I can not disable the keys as it is production system.
I have list of tables (Mysql) where some of them have reference.
I want to to generate delete script for all the tables based on time column.
NOTE: we can not user delete Cascade I can not disable the keys as it is production system.