Oracle9i SQL Reference Release 2 (9.2) Part Number A96540-02 |
|
|
View PDF |
Use the DROP
PROFILE
statement to remove a profile from the database.
See Also:
|
You must have the DROP
PROFILE
system privilege.
drop_profile::=
Specify the name of the profile to be dropped.
You cannot drop the DEFAULT
profile.
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.
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.