HI everyone
I have audits running on SQL Server 2012. Its auditing various database and server level features. When talking to the individual that would be monitoring these audits he does not want to go in the management console to view audit files. I found where i can use this SQL statement ,SELECT * FROM sys.fn_get_audit_file ('\\serverName\Audit\HIPPA_AUDIT.sqlaudit',default,default);, however i want to export this as a excel sheet so the auditor can monitor these files without entering the SQL management console. I know that i can output the results as a excel file through the menus but i want to add a SQL statement at the bottom so I can add it as a job.