http:\/\/msdn.microsoft.com\/en-us\/library\/ms189470.aspx<\/a><\/p>\nApplicable to SQL Server 2000,SQL Server 2005,SQL Server 2008,SQL Server 2008 r2,SQL Server 2012<\/p>\n","protected":false},"excerpt":{"rendered":"
@@LOCK_TIMEOUT specifies the number of milliseconds a statement has to wait for the lock on the dependant objects to be released. Syntax: [sql] SET @@LOCK_TIMEOUT [time_out_in_milli_seconds] [\/sql] Example: Below example sets the lock timeout to 2000 milli seconds(2 seconds). [sql] SET @@LOCK_TIMEOUT 2000 [\/sql] By default the initial value of @@LOCK_TIMEOUT is -1. @@LOCK_TIMEOUT setting…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[1959,1960,1961,1962,1963,1964,1965,1966,1967],"class_list":["post-207","post","type-post","status-publish","format-standard","hentry","category-sql-server-variables","tag-lock_timeout","tag-lock_timeout-example","tag-lock_timeout-syntax","tag-lock-timeout-sql-server-connection-timed-out","tag-set-lock_timeout","tag-set-lock_timeout-sql-server-2005","tag-set-lock_timeout-sql-server-2008","tag-set-lock_timeout-sql-server-2008-r2","tag-set-lock_timeout-sql-server-2012"],"_links":{"self":[{"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/posts\/207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/comments?post=207"}],"version-history":[{"count":0,"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/posts\/207\/revisions"}],"wp:attachment":[{"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/media?parent=207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/categories?post=207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/tags?post=207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}