Solved

generate data scripts in SQL server 2008

Posted on 2010-08-31
5
525 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 50

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 50

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

This is basically a blog post I wrote recently. I've found that SARGability is poorly understood, and since many people don't read blogs, I figured I'd post it here as an article. SARGable is an adjective in SQL that means that an item can be fou…
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

691 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