Db2 provides two distinct types of privileges to perform certain actions on specific database objects, and these are:
- Database Privileges: These privileges apply to a database as a whole and are classified into eight different database privileges:
- CONNECT: Allows a user to connect to the database
- QUIESCE_CONNECT: Allows a user to connect to the database while it is in QUIESCE (access restricted state)
- IMPLICIT_SCHEMA: Allows a user to create a new schema in the database implicitly by creating a fully qualified object
- CREATETAB: Allows a user to create new tables in the database
- BINDADD: Allows a user to create packages in the database
- CREATE_EXTERNAL_ROUTINE: Allows a user to create user-defined functions and procedures
- CREATE_NOT_FENCED_ROUTINE ...