Skip Headers

Oracle9i SQL Reference
Release 2 (9.2)

Part Number A96540-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page Go to next page
View PDF

DROP PROFILE

Purpose

Use the DROP PROFILE statement to remove a profile from the database.

See Also:

Prerequisites

You must have the DROP PROFILE system privilege.

Syntax

drop_profile::=

Text description of statements_860.gif follows
Text description of drop_profile


Semantics

profile

Specify the name of the profile to be dropped.

Restriction on Dropping Profiles

You cannot drop the DEFAULT profile.

CASCADE

Specify CASCADE to deassign the profile from any users to whom it is assigned. Oracle automatically assigns the DEFAULT profile to such users. You must specify this clause to drop a profile that is currently assigned to users.

Example

Dropping a Profile: Example

The following statement drops the profile app_user (created in "Creating a Profile: Example"):

DROP PROFILE app_user CASCADE; 

Oracle drops the profile app_user and assigns the DEFAULT profile to any users currently assigned the app_user profile.