Export grants from Oracle

Posted on 2006-04-24
Last Modified: 2010-08-05
Export grants from Oracle

exp <username>/<password>@<connect string>Export grants=y file= <schema_name>.dmp consistent=y compress=y log=schema_name_grants.log
Question by:rapace3
    LVL 142

    Expert Comment

    by:Guy Hengel [angelIII / a3]
    and the question is?
    LVL 47

    Expert Comment

    Example for Exporting (list of schemas):

    c:>exp parfile=expsch.par

    File expsch.par:

    userid="sys/blablar@bla as sysdba"

    Most common errors:
    1. In 32 Linux/Unix: export file > 2 GB
    2. set NLS_LANG to appropriate value on both Export and Import computers
    LVL 10

    Accepted Solution

    Is this a question or information??

    The option "grants=y" would export grants also in the dmp file.. Please let me know the exact query..

    Featured Post

    PRTG Network Monitor: Intuitive Network Monitoring

    Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    NMAP shows service 1521 is closed 13 68
    surrogate key in database world 6 60
    Salary Amount Format 13 51
    Oracle PL/SQL syntax 4 30
    This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
    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…
    Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
    This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now