We wanted to automize the output of a sql server query to store it as .csv or .xls output in the specified location of c:\.
Kindly help us out in sorting this issue out, so that we do not want any manual intervention of selecting options in T-SQL, as we want this to be done as part the query command.
Thanks to all for this help!