title: How to get sql query result into a text file with a specific file name like name_dd-mm-yyyy.txt
body: <p>Please suggest me how to get sql query result into a text file with a specific file name with current date like name_dd-mm-yyyy.txt.I want do this automatically using a job or Stored Procedure.</p>