bcp from Linux to SQL Server 2005

Hi folks,

Soon I'll need to bcp some text files from a Linux box to SQL Server 2005.  I'm wondering if it's simply a matter of pointing the SQL bcp import script to the IP address of the Linux box or is it more involved?  

Thanks in advance.
LVL 1
hennessymAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mark WillsTopic AdvisorCommented:
Need to remember that the source files need to be directly accessable to the SQL Server from the SQL Server's perspective. So, if you "map" a drive, or use path names, need to be able to do the equivelent from say a DOS prompt, or Windows explorer, and for the user that sets up the SQL Server as the service, and/or the user that is running the BCP job. SQL Server does not know about Linux per se, so those folder / file paths may cause some concern unless expressed in terms of something that windows will understand. Might be worthwhile copying them across to an accessible folder - which also serves as a "staging" area for import (ie no lock conflicts). To that end, I have used tools like SAMBA before, and not sure what the more recent versions of Linux can support.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hennessymAuthor Commented:
Thanks Mark, I'm giving SAMBA a try.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.