常用SQL语句

  • 删除日志记录,仅保留最近1000条记录

    Delete From Log Where ID<(select max(ID)-1000 from Log

原文地址:https://www.cnblogs.com/slwangzi/p/5541261.html