Click here to Skip to main content
15,888,401 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to create CSO from a procedure without calling BCP since it requires to run xp_cmdshell which requires security settings
I tried with creating a proxy user to execute xp... but it didn't work so was wondering is there any other way to do this.
Posted
Comments
CHill60 16-Sep-15 11:57am    
You could switch on xp_cmdshell for the purposes of the SP then switch it off again ... as suggested on this SO Post[^]
Umer Akram 18-Sep-15 7:36am    
how about using SQL Server Import / Export utility to import the CSV?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900