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
 General SQL Server Forums
 New to SQL Server Programming
 bcp out query

Author  Topic 

jtwork
Yak Posting Veteran

82 Posts

Posted - 2008-09-09 : 07:18:17
hi im trying to get the below to work but i just keep getting the error

SQLState = S1000, NativeError = 0
Error = [Microsoft][ODBC SQL Server Driver]Unable to open BCP host data-file

bcp database.dbo.table out c:\test\test.txt -T -S servername

X002548
Not Just a Number

15586 Posts

Posted - 2008-09-09 : 09:57:49
You know that path needs to be on the server, right?



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



Go to Top of Page

jtwork
Yak Posting Veteran

82 Posts

Posted - 2008-09-09 : 10:02:30
i have tried this logging into the the server as a remote connection as well as my desk top?
Go to Top of Page
   

- Advertisement -