语法:
truncate table + 表名
一、如果碰到id有被其他表引用为 外键的表的话,需要先禁用外键:
alter table bf_section disable primary key cascade;
truncate table bf_section;
alter table bf_section enable primary key;
语法:
truncate table + 表名
一、如果碰到id有被其他表引用为 外键的表的话,需要先禁用外键:
alter table bf_section disable primary key cascade;
truncate table bf_section;
alter table bf_section enable primary key;