Exporting query results to a file on the fly
- by ercan
Hi all,
I need to export the results of a query to a csv file in an FTP folder.
Is it possible to achieve this within a stored procedure?
If yes, comes yet another constraint: can I achieve this without sysadmin privileges, aka without using xp_cmdshell + BCP utility?
If no to 2., does the caller have to have sysadmin privileges or would it…