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 |
|
rakesh03449
Starting Member
6 Posts |
Posted - 2008-09-22 : 02:27:22
|
| hi alli have problem while working with bcp in sqlserver2005its showingSQLState = 08001, NativeError = 2Error = [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [2].SQLState = HYT00, NativeError = 0Error = [Microsoft][SQL Native Client]Login timeout expiredSQLState = 08001, NativeError = 2Error = [Microsoft][SQL Native Client]An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure maybe caused by the fact that under the default settings SQL Server does not allowremote connections.i am the only one user for my serverthe table description is CREATE TABLE [dbo].[Exam]( [ExamID] [int] NULL, [ExamName] [varchar](50) NULL, [ExamDescription] [varchar](50) NULL, [ExamXML] [xml] NULL) ON [PRIMARY]one of the row to be inserted in the file is "1 138-001 This is exam 138-001."Any help would be greatly appreciated, thanksrakesh |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-09-23 : 05:32:48
|
| can you show the bcp code? |
 |
|
|
rakesh03449
Starting Member
6 Posts |
Posted - 2008-09-24 : 00:50:02
|
| bcp FileImportDB.dbo.Exam in"c:\FileImportPracticeExamImportFile.txt" -T -cFileImportDB id my database namehelp me im unable to understand the problemrakesh |
 |
|
|
|
|
|