I'm trying to delete old records from a database that has only four tables. Only one table has a "timestamp" column, the others do not. This is not a relational database at all; No primary keys, no foreign keys and the indexes are the same on all of the tables.
This database has violated every rule of relational database construction there is.
Now the tables are full of old data and the "database owner" has requested me to delete old data from them.Could you tell me how do you delete data from four tables that work together but do not relate to each other?
I have suggested adding a "date column" with a getdate()so it will be a lot easier to delete "same records".
Any ideas?
Your prompt answer will be appreciated.
This database has violated every rule of relational database construction there is.
Now the tables are full of old data and the "database owner" has requested me to delete old data from them.Could you tell me how do you delete data from four tables that work together but do not relate to each other?
I have suggested adding a "date column" with a getdate()so it will be a lot easier to delete "same records".
Any ideas?
Your prompt answer will be appreciated.