How to write stored procedure output directly to a file on an FTP without using local or temp files?

后端 未结 6 1460
醉梦人生
醉梦人生 2021-01-02 03:54

I want to get the results of a stored procedure and place them into a CSV file onto an FTP location.

The catch though is that I cannot create a local/temporary file

6条回答
  •  佛祖请我去吃肉
    2021-01-02 04:37

    Try using a CLR stored procedure. You might be able to come up with something, but without first creating a temporary file, it might still be difficult. Could you set up a share on another machine and write to that, and then ftp from there?

提交回复
热议问题