Script to create roles & apply grants from database A to B (Doc ID 729428.1)

Last updated on MAY 01, 2014

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.1 and later
Information in this document applies to any platform.
***Checked for relevance on 04-May-2012***

Goal

Given two databases A & B. How do i generate a script from database A to create roles and apply
grants on the same users on database B (provided these users have already been created)?

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms