Advertisement

01.14.2008 at 06:05AM PST, ID: 23080678
[x]
Attachment Details

Export data with SQL Express problems

Asked by terrybuck9 in SQL Server 2005

Tags: Microsoft, SQL Express, 2005

I am a novice to SQL.  I am trying to setup a basic database and export it to a .csv file.  I have read several articles regarding this.  Some say you cant do it, some say use DTS and others BCP.
Regarding DTS, I have downloaded and installed everything in  Microsoft SQL Server 2005 Express Edition Toolkit, but none of it includes DTS.

so I thought I would try bcp.
I am running this command on the server in a commandprompt.
C:\Program Files\Microsoft SQL Server\90\Tools\Binn>bcp test.table_1 out c:\test.csv -S SQLEXPRESS -T
But I get the following error:
SQLState = 08001, NativeError = 53
Error = [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a con
nection to SQL Server [53].
SQLState = HYT00, NativeError = 0
Error = [Microsoft][SQL Native Client]Login timeout expired
SQLState = 08001, NativeError = 53
Error = [Microsoft][SQL Native Client]An error has occurred while establishing a
 connection to the server. When connecting to SQL Server 2005, this failure may
be caused by the fact that under the default settings SQL Server does not allow
remote connections.
I have allowed tcpip in server config and also started the browser in Surface area connection.
I know I am probably doing something stupid, can any one help with either of above.
Thanks TerryStart Free Trial
 
Loading Advertisement...
 
[+][-]01.14.2008 at 06:20AM PST, ID: 20653035

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]01.14.2008 at 06:24AM PST, ID: 20653063

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]01.14.2008 at 06:24AM PST, ID: 20653065

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: SQL Server 2005
Tags: Microsoft, SQL Express, 2005
Sign Up Now!
Solution Provided By: SQL_SERVER_DBA
Participating Experts: 3
Solution Grade: B
 
 
[+][-]01.21.2008 at 07:23AM PST, ID: 20706626

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628