Solved

generate data scripts in SQL server 2008

Posted on 2010-08-31
5
511 Views
Last Modified: 2012-05-10
hi experts, I'm trying to generate data scripts in SQL server 2008 and I have this
 errorValue timeout. The timeout period elapsed prior to completion of the operation or the server is not responding. (. Net SqlClient Data Provider)
errEXPORTAR.jpg
0
Comment
Question by:enrique_aeo
  • 2
  • 2
5 Comments
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 33573644
That means that the query is taking longer than the default Command Timeout of 30 seconds or whatever value you set it.  If you feel that the script is as optimized as it can be, than you will have to resort to increasing the value for the Command Timeout property.
0
 
LVL 46

Expert Comment

by:Vitor Montalvão
ID: 33574777
Are you trying to export data to file?
If so you can use BCP command.
0
 

Author Comment

by:enrique_aeo
ID: 33577221
Hi acperkins: I find this option Command Timeout property?
Hi VMontalvao: which is the code that I use transact
0
 
LVL 46

Accepted Solution

by:
Vitor Montalvão earned 250 total points
ID: 33577789
BULK INSERT is the Transact SQL but I'm afraid you won't have all options available then.
More about BCP command: http://msdn.microsoft.com/en-us/library/ms162802.aspx
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 33582670
>> I find this option Command Timeout property?<<
I am sorry, I thought your error  (". Net SqlClient Data Provider") came from an application you wrote.  Now I see you are running this from SSMS.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now