Table-level privileges
Privilege | Purpose |
---|---|
Select | Granted on a table-by-table basis and allows you to select rows from a table. (This privilege can be limited to specific columns in a table.) |
Delete | Allows you to delete rows. |
Insert | Allows you to insert rows. |
Update | Allows you to update existing rows (that is, to change their content). |
The people who create databases and tables often grant the Connect and Select privileges to public so that all users have them. If you can query a table, you have at least the Connect and Select privileges for that database and table.
You need the other table-level privileges to modify data. The owners of tables often withhold these privileges or grant them only to specific users. As a result, you might not be able to modify some tables that you can query freely.
Because these privileges are granted on a table-by-table basis, you can have only Insert privileges on one table and only Update privileges on another, for example. The Update privileges can be restricted even further to specific columns in a table.
For more information on these and other table-level privileges, see the HCL OneDB™ Database Design and Implementation Guide.