I'm running NAV 2009 r2 on SQL Server Standard version 2008r2
I hoping to find a method, by which I can automate an SQL Query in Management Studio, to export a date range in Change Log. For example, every Sunday morning, export back to the previous Sunday morning. I would like for it to export to a separate file. I don't care if it is CSV, TXT, or really any standard file format. I don't care if it is something that would automatically run every day, week. I think monthly would be too large. Just dump it to a UNC path and save it. Afterwards, I could go back and manually delete those entries from NAV using the delete report. Optimally, I'd like for both of these to be automated, but the export is what seems to take me the longest, as I have been just copy/pasting into excel.
Right now my Change Log has about a million lines, and that is for about 2 months. At this point, I am looking to keep the same level of logging. I am not an SQL expert. I can usually edit a query fairly well.
Any suggestions would be appreciated.
*This post is locked for comments