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 - 2004-05-26 : 06:59:55
|
| Bob writes "Hello,I am presently learning SQL server 2k, right now i am faced with the problem of importing a text based file using bcp command utility to my sql server. below is the command as found in microsoft sql server 2000 selfpaced study guide.C:\Exercise1>bcp bookshopdb..bookcondition in bookcondition.txt -c -TSQLState = 08001, NativeError = 17Error = [Microsoft][ODBC SQL Server Driver][Shared Memory]SQL Server does not exist or access denied.SQLState = 01000, NativeError = 2Warning = [Microsoft][ODBC SQL Server Driver][Shared Memory]ConnectionOpen (Connect()).Having check this site for any relevant help, i got a suggestion to use -S (local) or -S servername yet it's still not workingAny help?" |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2004-05-26 : 12:58:35
|
| Can you connect to the server in the -S switch using Query Analyzer from the same machine where you are running the bcp command? You probably just need to add an alias or start the MSSQLSERVER service.Tara |
 |
|
|
|
|
|