摘要:
------------------------------------------------------------------------------------------------------------------取得日期所在周的第一天----------------------------------------------------------------------------------------------------------------SELECT DATEADD(wk,DATEDIFF(wk,0,getdate()),-1)----------------- 阅读全文
摘要:
--清除存储过程缓存DBCC FREEPROCCACHE--清除会话缓存DBCC FREESESSIONCACHE--清除系统缓存DBCC FREESYSTEMCACHE('All')--清除所有缓存DBCC DROPCLEANBUFFERS 阅读全文