i need some help writing a stored procedure to archive old rows (delete and insert to archive tables)
i want to run a select that will return users ids that were deleted the past 24 hours, and then archive all their rows from tables according to this id.
how can i do that?
How can i do that?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Vishal JoshiRank #377 · 6.7K reputationPosted Aug 26, 2022, 3:15 AM EDT