How do I export AAI SQL Server query results to a CSV file with headers?