Hi all,
i try to export DB Script (Toad 16.2) to move to a new instance with the simiar schema/roles/...
But i already fail with exporting roles in the correct sorting.
Short Sample Export (no matter if i use Option Script > Sort for Creation):
CREATE ROLE ACCOUNTMANAGEMENT NOT IDENTIFIED;
-- System privileges granted to ACCOUNTMANAGEMENT
GRANT ALTER USER TO ACCOUNTMANAGEMENT;
GRANT CREATE USER TO ACCOUNTMANAGEMENT;
GRANT DROP USER TO ACCOUNTMANAGEMENT;
-- Roles granted to ACCOUNTMANAGEMENT
GRANT SELECT_BATCHES TO ACCOUNTMANAGEMENT WITH ADMIN OPTION;
GRANT SELECT_MATERIAL TO ACCOUNTMANAGEMENT WITH ADMIN OPTION;
later in the script........
CREATE ROLE SELECT_BATCHES NOT IDENTIFIED;
CREATE ROLE SELECT_MATERIAL NOT IDENTIFIED;
What do i have to do to get an usable Script that runs once and without any errors?
Yes, i can only export roles to get just the create roles, but how to get only the Object and System grants without a create role statement?
Thank you for your support
BR
J