asteroza + timeout   4

SQL Server Remote Query Timeout Setting | SQL Server Administration Blog |
So WSUS snapin gets cranky due to SQL server query timeouts sometimes. Use SQLCMD to alter the timeout via

sqlcmd.exe -S np:\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query
WSUS  maintenance  sysadmin  tips  tricks  SQL  MSSQL  server  timeout 
march 2018 by asteroza
IanG on Tap: Oh No! Not the TimedLock Again!
Normal C# Lock can deadlock, so this is a trick to timeout the lock, utilizing the actual underlying code behind Lock.
C#  locking  lock  locks  threading  multithreading  thread  contention  timeout  code  sample  programming  development  Delicious 
may 2009 by asteroza

Copy this bookmark: