批量删除默认用户

Posted liutoliu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了批量删除默认用户相关的知识,希望对你有一定的参考价值。

alter trigger SYS.XDB_PI_TRIG disable;
drop user SCOTT cascade;
drop user XS$NULL cascade;
drop user BI cascade;
drop user PM cascade;
drop user MDDATA cascade;
drop user IX cascade;
drop user SH cascade;
drop user OE cascade;
drop user APEX_PUBLIC_USER cascade;
drop user HR cascade;
drop user SPATIAL_CSW_ADMIN_USR cascade;
drop user SPATIAL_WFS_ADMIN_USR cascade;
drop user FLOWS_FILES cascade;
drop user MDSYS cascade;
drop user ORDSYS cascade;
drop user EXFSYS cascade;
drop user WMSYS cascade;
drop user APEX_030200 cascade;
drop user OWBSYS_AUDIT cascade;
drop user ORDDATA cascade;
drop user CTXSYS cascade;
drop user ANONYMOUS cascade;
drop user SYSMAN cascade;
drop user XDB cascade;
drop user ORDPLUGINS cascade;
drop user OWBSYS cascade;
drop user SI_INFORMTN_SCHEMA cascade;
drop user OLAPSYS cascade;

以上是关于批量删除默认用户的主要内容,如果未能解决你的问题,请参考以下文章

从自定义默认 Spring 验证中删除批量

批量删除 WordPress 帖子默认编辑器中的所有内容

用户批量删除脚本

Linux 批量创建user和批量删除用户

批量删除用户

优化批量删除和创建 NSManagedObjects