Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change database timeout

Status
Not open for further replies.

sroz

Programmer
Jan 9, 2003
5
0
0
FR
hi,
i have a sybase database and i want to change its timeout.

is there a sql order to do it ?
my timeout is 30 seconds and i want it to be 1hour.
 
If you are using SQL Advantage...
File -> Preferences -> Global

on the query tab, adjust the query timeout. Get the Best Answers! faq333-2924
"A witty saying proves nothing." - Voltaire
mikewolf@tst-us.com
 
Generally, the timeout is set by the client. ODBC and ADO have QueryTimeout properties.

I recommend that you don't set the timeout value to 1 hour for any query. A query that runs for an hour usually need tuning and optimization. Allowing inefficient, non-optimized queries to run on your server impacts all users and server processes.

I also recommend posting Sybase questions in the Sybase forum as this forum is not for administrative questions. It deals with ANSI SQL programming. Terry L. Broadbent - DBA
SQL Server Page:
If you want to get the best answer for your question read faq183-874.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top