Table Reference
You grant table-level privileges directly by specifying
the name or an existing synonym of a table or of a view, which you
can qualify with the owner name.
Element | Description | Restrictions | Syntax |
---|---|---|---|
owner | Name of the user who owns the table, view, or synonym | Must be a valid authorization identifier | Owner name |
synonym, table, view | Synonym, table, or view on which privileges are granted | The table, view, or synonym must exist in the database | Identifier |
The object on which you grant privileges must reside in the current database.
For table objects that the CREATE EXTERNAL TABLE statement has registered in the current database, the Select privilege and the Insert privilege are supported, but no other table or column access privileges can be granted or revoked.
In an ANSI-compliant database, if owner is not enclosed between quotation marks, the database stores the owner name in lowercase letters.