George
2010-04-26 07:40:01 UTC
Hi All,
"lock request time out period exceeded, error 1222" will appear when I try
to expand the tables list in a remote database in SQL server management
studio express. This is ok because some of the tables are locked. But I want
to onfigure the system to wait forever for this kind of locked table. Any
idea how I can achieve it? I have searched on the Internet that wait forever
is the default setting but it seems it is not.
I have tried to configure the "set lock timeout" configuration to -1
(default) in SQL management studio express options. But the problem persists.
Also, when I use SQL profiler, I noticed a "set lock timeout 10000" always
appear before the query begins. 10000 means system will only wait for ten
seconds. How can I change this number?
"lock request time out period exceeded, error 1222" will appear when I try
to expand the tables list in a remote database in SQL server management
studio express. This is ok because some of the tables are locked. But I want
to onfigure the system to wait forever for this kind of locked table. Any
idea how I can achieve it? I have searched on the Internet that wait forever
is the default setting but it seems it is not.
I have tried to configure the "set lock timeout" configuration to -1
(default) in SQL management studio express options. But the problem persists.
Also, when I use SQL profiler, I noticed a "set lock timeout 10000" always
appear before the query begins. 10000 means system will only wait for ten
seconds. How can I change this number?