delete from TimetableLock where pmUser_insID = '590901000015335' or TimetableLock_lockTime < dateadd('hour', -1, dbo.tzGetDate())
