Previous Topic

Next Topic

Drop Profile

Valid in: SQL, ESQL

The Drop Profile statement drops a user profile that is no longer needed.

User profiles are a set of subject privileges and other attributes that can be applied to a user or set of users. Each user can be given a profile, which is used to provide the default attributes for that user. A default profile, changeable by the system administrator, is provided to determine the default user attributes when no profile is explicitly specified.

This statement is available in dynamic SQL. It is not available in database procedures. There are no dynamic parameters in embedded SQL.

Previous Topic

Next Topic

Syntax

The Drop Profile statement has the following format:

[EXEC SQL] DROP PROFILE profile_name [CASCADE | RESTRICT]

Previous Topic

Next Topic

Permissions

You must have the maintain_user privilege and be connected to the iidbdb database.

Previous Topic

Next Topic

Locking

The Drop Profile statement locks iiprofile.

Previous Topic

Next Topic

Related Statements

Alter Profile

Create Profile

Previous Topic

Next Topic

Example: Drop Profile

The following example drops the myprofile profile:

drop profile myprofile cascade


© 2007 Ingres Corporation. All rights reserved.