Oracle Consulting Oracle Training Oracle Support Development
Home
Catalog
Oracle Books
SQL Server Books
IT Books
Job Interview Books
eBooks
Rampant Horse Books
911 Series
Pedagogue Books

Oracle Software
image
image
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
  Phone
  252-431-0050
Oracle News
Oracle Forum
Oracle Tips
Articles by our Authors
Press Releases
SQL Server Books
image
image

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle

STATSPACK Viewer

    Privacy Policy

 

   
 

ss

Oracle Tips by Burleson 

Oracle Streams
Chapter 4 - Capture and Propagate Configuration

Creating the Streams Administrator

Alternately, a series of SQL statements can be generated that grant various privileges. Using this method gives the DBA better control over the kinds of privileges that are granted. For example, the main Streams administrator account may be created with all of the privileges of database administrators. However, for another application group or user, it may be desirable to create additional Streams administrator accounts with selected privileges only.

The next example shows how to generate the script file containing the SQL statements that grants various privileges to the Streams administrator account. By careful selection of required privileges, the DBA is able create multiple users with different degree of privileges.

-- First ensure we have a Directory Object

CREATE DIRECTORY admin_dir AS '/app/oracle/DNYTST10/data'
/

-- generate the Script File

BEGIN
DBMS_STREAMS_AUTH.GRANT_ADMIN_PRIVILEGE(
grantee                          => 'strmadm',
grant_privileges => false,
file_name           => 'grant_strms_privs.sql',
directory_name              => 'admin_dir');
END;
/


The above text is an excerpt from:

Oracle Streams
High Speed Replication and Data Sharing

ISBN 0-9745993-5-2

by Madhu Tumma
 


Download your Oracle scripts now:

www.oracle-script.com

The definitive Oracle Script collection for every Oracle professional DBA

Linux Oracle commands syntax poster

ION Oracle tuning software

Oracle data dictionary reference poster



Oracle Forum

BC Oracle consulting support training

BC remote Oracle DBA   

 

   

 Copyright © 1996 -2011 by Burleson Enterprises. All rights reserved.


Oracle® is the registered trademark of Oracle Corporation. SQL Server® is the registered trademark of Microsoft Corporation. 
Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks