CREATE DATA GRANT

Purpose

Use CREATE DATA GRANT to create data grants for rows and columns on tables and views.

Prerequisites

You must have the CREATE DATA GRANT system privilege to create data grants in your own schema.

You must have the CREATE ANY DATA GRANT system privilege to create data grants in schemas other than your own.

You must have the ADMINISTER ANY DATA GRANT system privilege to create data grants on objects in any schema (can also be granted at the schema level for non-SYS schema).

You can use the data dictionary view DBA_DATA_GRANTS to get a list of data grants granted on each table and view. See DBA_DATA_GRANTS of the Database Reference.

Syntax

Description of the illustration create_data_grant.gif

privilege_list

Description of the illustration privilege_list.gif

privilege_item

Description of the illustration privilege_item.gif

privilege

Description of the illustration privilege.gif

column_list

Description of the illustration column_list.gif

user_role_list

Description of the illustration user_role_list.gif

user_role

Description of the illustration user_role.gif

Semantics