I want to export the everyday data to a csv file and delete the records.
I have seen the standard maintenance plan has option to archive bak file only.
Is there any way I write script and attach to maintenance plan to do my tasks? (Per table)
- Export the records to CSV file (csv file name with current time)
- Delete all the records from live DB.
Thanks.