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)
 bcp

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-08-30 : 10:46:57
Israr writes "I am trying to bcp out data but getting following
Error = [Microsoft][ODBC SQL Server Driver]Unable to open BCP host data-file


I did configured the ODBC and test is successful. How to solve this issue?

Please help."

nr
SQLTeam MVY

12543 Posts

Posted - 2006-08-30 : 11:05:23
It's saying it can't open the text file to output data to.
The text file will be relative the server and the sql server service (probably) will need permission on it.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -