Locked SQL Server UDF -


when try rename/delete specific udf following error:

"lock request time out period exceeded (microsoft sql server, error: 1222)"

note if try alter it, query runs indefinitely..

here's did try solving problem without success:

1) dbcc opentran() returns "no active open transactions."

2) select @@trancount returns 0.

3) blkby field returned sp_who2 empty.

4) both restarted windows server , manually stopped/restarted mssqlserver service

5) chkdsk c: returns:

   976657407 kb total disk space.    114105840 kb in 702392 files.       424472 kb in 122799 indexes.            0 kb in bad sectors.      1885591 kb in use system.        65536 kb occupied log file.    860241504 kb available on disk. 

no problem other database objects


Comments

Popular posts from this blog

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -