Anyone using SQL scripts to deal with huge transaction tables? We haven't been able to maintain a purging plan and now the IMINVTRX file is huge.
The normal process of purging via spooling the Trx Hist By Item report takes hours and then the Export-Init-Import is another huge chunk of time.
I really want to just copy the current file over to a backup db and then purge all but the last 12 months data from the live file. Can the last 12 month extraction be done using SQL so we can quickly get back online instead of scheduling 12 - 24 hours of downtime?
The normal process of purging via spooling the Trx Hist By Item report takes hours and then the Export-Init-Import is another huge chunk of time.
I really want to just copy the current file over to a backup db and then purge all but the last 12 months data from the live file. Can the last 12 month extraction be done using SQL so we can quickly get back online instead of scheduling 12 - 24 hours of downtime?