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.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2005-02-02 : 08:19:34
|
| Broc writes "When I follow the layout from the followinghttp://www.sqlteam.com/item.asp?ItemID=4722Ii get an error, that I cannot resolve.The error is as follows:SQLState = S1000, NativeError = 0Error = [Microsoft][ODBC SQL Server Driver]Unable to open BCP host data-fileAny Help with this would be appreciatedThanksBroc" |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2005-02-02 : 13:27:29
|
| Means it can't open the file to import.The file will be relative to the server so if it's not on the server it will need to access it via a share. Best to try a xp_cmdshell dir command to see if it can find it.Have a look athttp://www.mindsdoor.net/SQLTsql/BCP_quoted_CSV_Format_file.htmlFor some things to test with.==========================================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. |
 |
|
|
|
|
|