Quick Search:
 Oracle PL/SQL: USERS: Drop users Jump to:  
Category: >> Oracle PL/SQL >> USERS: Drop users  

<< lastnext >>

Snippet Name: USERS: Drop users

Description: Examples of dropping users with and without database objects.

If the user to be dropped still has either tables, types, triggers and indexes, the user can only be deleted (dropped), if the cascade modifier is specifed. Otherwise, an ORA-01922: CASCADE must be specified to drop 'username' error will be issued.

Also see:
» USER: connection information
» USER: User Information 2
» USER idle time
» USER Information
» USER active connected users
» USER memory use
» USER: Connected Users
» USER: drop user
» USER: misc queries and commands
» USER system authentication
» USER lock account
» USER password expiration
» USER profile
» USER tablespace quota
» USER temp tablespace
» USER tablespace
» USER password
» USERS: view specific user info
» USERS: view currently connected users
» USERS: view all active users
» USERS: Lock and Unlock accounts
» USERS: Proxy Users
» USERS: Grant tablespace access
» USERS: Alter a user
» USERS: CREATE USER w/ authentication
» USERS: Creating Users
» Drop User example
» Create User example
» Create User

Comment: (none)

Language: PL/SQL
Highlight Mode: PLSQL
Last Modified: March 12th, 2009

-- drop user without any objects 
DROP USER <user_name>;
-- for example: 
-- drop user with any objects 
DROP USER <user_name> CASCADE;
-- for example: 

   Home |    Search |    Code Library |    Sponsors |    Privacy |    Terms of Use |    Contact Us © 2003 - 2024 psoug.org