Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 query timeout

Author  Topic 

slimt_slimt
Aged Yak Warrior

746 Posts

Posted - 2008-12-23 : 15:44:23
hi,

is there a function or settings that will omit query execution and should not be related to connection string for sql server; meaning to set query to quit processing after e.r. one minute if results aren't shown.

i've set under tools->options->designers->transaction time-out after in SMSS and have looked in sp_configure


sp_configure 'show advanced options','1'
go
reconfigure
go

sp_configure 'query wait (s)','1'
go
reconfigure
go


but looks like non does what i want.

thank you

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-12-23 : 15:46:45
You do this in your application, not in SQL Server.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

slimt_slimt
Aged Yak Warrior

746 Posts

Posted - 2008-12-24 : 05:46:24
thank you for answer. is there anyother way to do it within sql server?
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-12-24 : 12:32:06
No. It must be done inside your application.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -