How to produce an csv output file from stored procedure in SQL Server

后端 未结 7 886
孤独总比滥情好
孤独总比滥情好 2020-12-03 14:01

Is it possible to generate a csv file from a stored procedure in SQL Server? I created my stored procedure and I want to stored some result as csv, does someone know how to

7条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-03 14:59

    I think it is possible to use bcp command. I am also new to this command but I followed this link and it worked for me.

提交回复
热议问题