dbTalk Databases Forums  

Unable to open BCP host data-file

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Unable to open BCP host data-file in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ryan Waight
 
Posts: n/a

Default Unable to open BCP host data-file - 10-02-2003 , 09:56 AM






It could be the -i switch try this :-

bcp database..WKCE in c:\cg10grt.txt -fc:\wkce.fmt -
SServer -Uusername -Ppassword -ec:\wkce.err

HTH

Ryan

Quote:
-----Original Message-----
I am logged on to the server and need to load multiple
files into a table.

The file I am loading I am able to open with notepad.
The
format file I can also open in notepade.

When I am run the command on the server:

bcp database..WKCE in -fc:\wkce.fmt -ic:\cg10grt.txt -
SServer -Uusername -Ppassword -ec:\wkce.err

The error I receive is:
SQLState = S1000, NativeError = 0
Error = [Microsoft][ODBC SQL Server Driver]Unable to open
BCP host data-file

Any assistance would be helpful.

Thanks.
.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.