Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 how to mention server name in BCP

Author  Topic 

rajkumarrai_bis
Yak Posting Veteran

78 Posts

Posted - 2007-03-16 : 15:56:54
how should i mention server name in BCP
following command works fine
bcp DBNAME.dbo.test out C:\TEST.bcp –c -T

but when i add server name like this
bcp DBNAME.dbo.test out C:\TEST.bcp –c -T -S ING-OFFSHORE-8\RAJ_TEST_SERVER
then it gives error

please help
thanks in advance

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2007-03-16 : 16:01:52
You are doing it correctly with the -S switch. Please post your error.

You may want to try square brackets around your server name.

Tara Kizer
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
   

- Advertisement -