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