I have a stored procedure that does a select and returns the results. I would like thos results to be in .csv format. NOT a csv file, a string in csv format. Also, I am not looking for any menu clicks or selections from management studio. This must be done inside the stored procedure call. What is the correct way to do this?
Share
This might work for you. Column headers is optional: