C# BCP API

  • Thread starter Thread starter Joe
  • Start date Start date
J

Joe

Hello,
I'm calling a stored procedure to bulk insert data but the procedure
doesn't like a unc address format being passed to it. I wondered if
anyone had tried to write an API to bcp as I think that could solve my
problem.

Regards,

Joe

Joe
 
Most likely it has to do with the user context under which the RDBMS is
running. That user probably has no permissions to the UNC share.

Regards
 
Hi ,

Maybe it's permission what the process is lacking.

The approach I used to bulk insert is creating a DTS package and later call
it from code, you can update the source/target directly from the code so
it's reusable. let me know if you want some code snips

cheers,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top