Click here to Skip to main content
15,895,808 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all,
I have a store procedure naming "detail_proc" and it will return a result set.Now i want to store that result set as a Excel file in "C://Data/" this folder.That file should be created at the time of calling the proc "detail_proc" and column name as resulting data...is it possible in sql server itself?

Thanks in Advance :-)
Posted
Comments
7045Jeegnesh 22-Dec-15 5:16am    
https://msdn.microsoft.com/en-us/library/w2kae45k(v=vs.90).aspx
https://www.mssqltips.com/sqlservertip/1460/sql-server-script-to-create-windows-directories/

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