jordanking
Programmer
- Sep 8, 2005
- 351
Hello,
I read the previous post (.csv export possible? sept 05 2008) about exporting csv files and the solutions were to use the command function xp_cmdshell with DTS or BCP. I can not do that. I am working with sql server 2005 workgroup which does not have SSIS and as a result I can not create a DTS package that can be run inside a Job. The documentation on xp_cmdshell discourages activating this command...
So what I am wondering is, how can I export one table, from within a stored procedure, into a .csv file?
.....
I'd rather be surfing
I read the previous post (.csv export possible? sept 05 2008) about exporting csv files and the solutions were to use the command function xp_cmdshell with DTS or BCP. I can not do that. I am working with sql server 2005 workgroup which does not have SSIS and as a result I can not create a DTS package that can be run inside a Job. The documentation on xp_cmdshell discourages activating this command...
So what I am wondering is, how can I export one table, from within a stored procedure, into a .csv file?
.....
I'd rather be surfing