Solved

Export Roles

Posted on 2006-06-26
1
1,595 Views
Last Modified: 2012-06-27
Hello all,

I have two Oracle 9i servers. I have recreated everything on the backup server from the production server.

I want to recreate the roles from the production box on the backup server, how can I transfer the roles easiest?

Thanks
0
Comment
Question by:TRAININGBSC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 14

Accepted Solution

by:
sathyagiri earned 125 total points
ID: 16984260
Do a full export, but with ROWS=N parameter
Find the ROLE commands in the export file using "grep" or something similar. Redirect the output to a file and use that file to create roles on your target database

Or

You could look at the source database's data dictionary views and use dynamic sql to extract and create the DDL for the ROLES.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and theā€¦
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
Via a live example, show how to take different types of Oracle backups using RMAN.
Suggested Courses

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question