怎么删除一个表中的前5000行记录,因为我有一个表数据量很大,做删除的时候事务日志会满,因此要分批提交,注:不是删除全表
------解决方案--------------------------------------------------------
- SQL code
delete from (select * from t fetch first 5000 rows only);
delete from (select * from t fetch first 5000 rows only);