Link to home
Start Free TrialLog in
Avatar of charmedimsure
charmedimsure

asked on

How can we place a file in a particular location on a server

How to execute bcp (which calls xp_cmdshell using the SQLAgentCmdExec id) from within a stored procedure and copy data into an Excel file on a file server?  Does SQLAgentCmdExec need rights to the location on the file server?
ASKER CERTIFIED SOLUTION
Avatar of ispaleny
ispaleny
Flag of Czechia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial