WebMar 21, 2024 · SQL> drop user APEX_040200 cascade; drop user APEX_040200 cascade * ERROR at line 1: ORA-28014: cannot drop administrative users Set "_oracle_script" parameter session level as shown below to TRUE. The _oracle script parameter, introduced in Oracle Database 19c, allows you to run a SQL script as a "container database" (CDB) or … WebSep 9, 2024 · SQL> drop user hr cascade; drop user hr cascade. *. ERROR at line 1: ORA-01940: cannot drop a user that is currently connected. ORA-01940 means that some users are still connecting to the account that you want to drop, so Oracle cannot drop it in this moment. Let's see who are still connecting to it. SQL> column machine format a30;
Oracle Database Vault Objects
WebMay 4, 2024 · ORA-28014: Cannot Drop Administrative Users (Doc ID 1566042.1) Last updated on MAY 04, 2024 Applies to: Oracle Database - Enterprise Edition - Version … WebORA-01940: cannot drop a user that is currently connected Solution: 1. Find the sessions running from this userid: SQL> SELECT SID,SERIAL#,STATUS from v$session where username='SCOTT'; SID SERIAL# STATUS ---------- ---------- -------- 44 56381 INACTIVE 323 22973 INACTIVE 2. Kill the sessions: cyst on top of my foot
how to allow to drop only list of users - Ask TOM - Oracle
WebPROBLEM: While dropping APEX user got below error in oracle 12c, got below error. SQL> drop user APEX_050000 cascade; drop user APEX_050000 cascade * ERROR at line 1: ORA-28014: cannot drop administrative users SOLUTION: set _oracle_script to TRUE and execute drop command as below. WebIn a standard database this is done using the following command: DROP USER APEX_200100 CASCADE; However in a multi-tenant database this command returns the following error: SQL> drop user apex_200100 cascade; drop user apex_200100 cascade * ERROR at line 1: ORA-28014: cannot drop administrative users WebFeb 15, 2024 · 1 CREATE PLUGGABLE DATABASE ADMIN USER Use this clause to create an administrative user who can be granted the privileges required to perform administrative tasks on the PDB. For admin_user_name, specify name of the user to be created. Use the IDENTIFIED BY clause to specify the password for admin_user_name. cyst on trachea