Bulk Insert VS DTS

pts.
Tags:
SQL Server
i have to do some bulk insertions from an excel file which is located on my terminal to sql server table which resides on another server.. i used dts to transform it and it was working fine. but its not being possible to do the same by using 'bulk insert' or 'bcp' method. the problem is sql server is in another server and i accessing it from my terminal which is in network. even if u execute xp_cmdshell it gives info regarding drives existing on the server rather than giving by mine terminal drive info. is there any way to do it.. definetly it would be possible as i accomplished the same task by using dts.. thanks in advance

Answer Wiki

Thanks. We'll let you know when a new response is added.

I think that the only way to do this would be to map your terminal to a drive and use the drive designation in bcp. I don’t think bcp recognizes UNCs.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Stephen09
    Another possibility would be to install SQL Client Tools on your computer so that you would have the bcp utility available on your terminal. I'm pretty sure that bcp comes packaged in SQL Client Tools. If it's not in there, then you could probably get it from installing SQL Server 2000 MSDE.
    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following