I am currently trying to set up a query that will eventually be a Stored procedure and probably a job that runs, I need the query to automatically output the result into a file. I have found 50 different ways to do this manually and 0 ways to do this in the query, any ideas on how I could spit the following query into a file.
SELECT [FULL_NAME],[ADDRESS],[PHONE] FROM CUSTOMER
Edit: I use Microsoft SQL Server