Link to home
Start Free TrialLog in
Avatar of schuitkds
schuitkds

asked on

SQL TIMEOUT

Stupid question but Newbie here
How do I change the timeout value for a sql server database
sql server 2005
Avatar of chapmandew
chapmandew
Flag of United States of America image

You change your connection value through your provider....ie, you set it through your code when you make your connection.
Avatar of geek_vj
geek_vj

You need to set it from application end. From SQL Server end, you can execute this query to set the remote query timeout as below:
1. Connect to SQL Server Enterprise Manager/Management Studio (depending on SQL 2000/2005)
2. Execute the below queries in order

a. sp_configure 'show advanced options', 1
    go
    reconfigure with override

b. sp_configure 'remote query timeout (s)', <desiredvalue in milliseconds>
    go
    reconfigure with override
Avatar of schuitkds

ASKER

so the client that connects to the database, you set the time out there.
so if I am using ms access to pull data from the sql database I change the timeout value in access?

If we have a web based front end to the database you change the timeout value on the web server program.

Just want to make sure I have this straight
thank you
ASKER CERTIFIED SOLUTION
Avatar of geek_vj
geek_vj

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial