2021-06-28 08:24:51 -05:00
|
|
|
|
|
|
|
.. _role_reassign_dialog:
|
|
|
|
|
|
|
|
**************************************
|
|
|
|
`Role Reassign/Drop Own Dialog`:index:
|
|
|
|
**************************************
|
|
|
|
|
2021-07-07 00:14:02 -05:00
|
|
|
Use the *Reassign/Drop Own* dialog to change the ownership of database objects owned
|
2021-06-28 08:24:51 -05:00
|
|
|
by a database role. This dialog instructs the system to change the ownership of database
|
|
|
|
objects owned by any of the *old_roles* to *new_role*.
|
|
|
|
|
2021-07-07 00:14:02 -05:00
|
|
|
The *Reassign/Drop Own* dialog organizes the Reassign & Drop role through General tab.
|
2021-06-28 08:24:51 -05:00
|
|
|
|
|
|
|
.. image:: images/role_reassign_dialog.png
|
2021-07-07 00:14:02 -05:00
|
|
|
:alt: Reassign/Drop Own dialog
|
2021-06-28 08:24:51 -05:00
|
|
|
:align: center
|
|
|
|
|
2021-07-07 00:14:02 -05:00
|
|
|
* Use the *Operation* field to provide Reassign option.
|
2021-06-28 08:24:51 -05:00
|
|
|
* Provide a new role in the *Reassign Objects to* field; The ownership of all the objects within the selected database,
|
|
|
|
and of all shared objects (databases, tablespaces), owned by the *old_role* will be reassigned to *new_role*.
|
|
|
|
* Provide a database on which the reassignment is to be carried out.
|
|
|
|
|
|
|
|
The above example demonstrates reassigning *old_role* to *new_role*.
|
|
|
|
|
2021-07-07 00:14:02 -05:00
|
|
|
Click the *SQL* tab to continue.
|
|
|
|
|
|
|
|
.. image:: images/role_reassign_dialog_sql.png
|
|
|
|
:alt: Reassign/Drop Own dialog sql
|
|
|
|
:align: center
|
|
|
|
|
2021-06-28 08:24:51 -05:00
|
|
|
Removing database objects owned by a database role.
|
|
|
|
|
|
|
|
.. image:: images/role_drop_dialog.png
|
2021-07-07 00:14:02 -05:00
|
|
|
:alt: Reassign/Drop Own dialog
|
2021-06-28 08:24:51 -05:00
|
|
|
:align: center
|
|
|
|
|
2021-07-07 00:14:02 -05:00
|
|
|
* Use the *Operation* field to provide Drop option.
|
|
|
|
* Use the *Cascade?* field to provide Yes, No is default.
|
2021-06-28 08:24:51 -05:00
|
|
|
* Provide a database on which the drop of objects is to be carried out.
|
|
|
|
|
2021-07-07 00:14:02 -05:00
|
|
|
Click the *SQL* tab to continue.
|
|
|
|
|
|
|
|
.. image:: images/role_drop_dialog_sql.png
|
|
|
|
:alt: Reassign/Drop Own dialog sql
|
|
|
|
:align: center
|
|
|
|
|
2021-06-28 08:24:51 -05:00
|
|
|
The above examples demonstrates drop owned by *role*.
|
|
|
|
|
|
|
|
* Click the *Help* button (?) to access online help.
|
|
|
|
* Click the *OK* button to save work.
|
|
|
|
* Click the *Cancel* button to exit without saving work.
|