Solved

generate data scripts in SQL server 2008

Posted on 2010-08-31
5
508 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 45

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 45

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

757 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

19 Experts available now in Live!

Get 1:1 Help Now