Export schema's user privileges

How to find the export schema's user privileges in originating database?

If you have acces to the database where export has been taken, you can use dba_user_privs view to find out.
Else, use imp with indexfile option to write the imp output to the file and look for it.
Jaffar
OCP DBA

Similar Messages

  • User privilege to access schema ?

    Hello experts ...
    how can we find the simple information about :
    for example a user scott has privilege to connect schema (like create session privilege he has) ...
    like that i want know how many schema's connect privilege he has .... in wiich data dictionary we get this information and what is query ....
    how to get this information ??????
    thankssss

    Hi,
    1) very first i wana to know how to give 1 particular schema privilege for example scott schema .. to multiple users (not only access the tables privilege) the complete connect role to multiple users.Refer to : http://download.oracle.com/docs/cd/B28359_01/network.111/b28531/authorization.htm
    2)second which users having which schema's connect privilege ..SELECT * FROM dba_role_privs WHERE granted_role='CONNECT'
    - Pavan Kumar N

  • Change schema's user name

    Isthere any way to change schema's user name. I have looked but couldnt find how to change. With "Alter user" name cant be changed.
    Thanks for the help...

    Hi,
    SQL> host exp system/oracle owner=scott file=c:\scottschema.dmp log=c:\scott.log
    Export: Release 10.1.0.2.0 - Production on Tue Dec 12 09:36:37 2006
    Copyright (c) 1982, 2004, Oracle.
    All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 -
    ProductionWith the Partitioning, OLAP and Data Mining options
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export specified users ....
    exporting pre-schema procedural objects and actions.
    exporting foreign function library names for user SCOTT.
    exporting PUBLIC type synonyms.
    exporting private type synonyms.
    exporting object type definitions for user SCOTT
    About to export SCOTT's objects ....
    exporting database links.
    exporting sequence numbers.
    exporting cluster definitions.
    about to export SCOTT's tables via Conventional Path .... .
    exporting table A 0 rows exported. .
    exporting table ABCDEFGHIJKLMNOPQRSTUVWXYZ 0 rows exported. .
    exporting table ABCDEFGHIJKLMNOPQRSTUVWXYZ1234 0 rows exported. .
    exporting table A_12345678901234567890123456$# 0 rows exported. .
    exporting table B 100 rows exported. .
    exporting table BIG 46968 rows exported. .
    exporting table BIG_TABLE 46967 rows exported. .
    exporting table BONUS 0 rows exported. .
    exporting table C 1000 rows exported. .
    exporting table D 1000 rows exported. .
    exporting table DEPT 4 rows exported. .
    exporting table E 1000 rows exported. .
    exporting table EMP 14 rows exported. .
    exporting table FINAL_OUTPUT. .
    exporting table Q 10000 rows exported. .
    exporting table SALGRADE 5 rows exported. .
    exporting table T 1000 rows exported. .
    exporting table TEST 7 rows exported.
    exporting synonyms.
    exporting views.
    exporting stored procedures.
    exporting operators.
    exporting referential integrity constraints.
    exporting triggers. exporting indextypes.
    exporting bitmap, functional and extensible indexes.
    exporting posttables actions.
    exporting materialized views.
    exporting snapshot logs.
    exporting job queues.
    exporting refresh groups and children.
    exporting dimensions.
    exporting post-schema procedural objects and actions.
    exporting statistics
    Export terminated successfully without warnings.
    SQL> select user_id,username from user_users;
    USER_ID USERNAME
    57 SCOTT
    SQL> select count(*) from session_privs;
    COUNT(*)
    81
    SQL> select count(*) from session_roles;
    COUNT(*)
    6
    SQL> set echo off
    SQL> set feedback off
    SQL> set heading off
    SQL> spool c:\scottpriv.sql
    SQL> select 'grant 'privilege' to newscott;' from session_privs;
    SQL>spool off
    SQL> spool c:\scottroles.sql
    SQL> select 'grant 'role' to newscott;' from session_roles;
    grant CONNECT to newscott;
    grant RESOURCE to newscott;
    grant IMP_FULL_DATABASE to newscott;
    grant SELECT_CATALOG_ROLE to newscott;
    grant HS_ADMIN_ROLE to newscott;
    grant EXECUTE_CATALOG_ROLE to newscott;
    SQL> spool off
    SQL> set heading on
    SQL> set feedback on
    SQL> set echo on
    SQL> select default_tablespace from user_users;
    DEFAULT_TABLESPACE
    TEST
    1 row selected.
    SQL> conn system/oracleConnected.
    SQL> create user newscott identified by newscott default tablespace test;
    User created.
    SQL>@c:\scottpriv.sql <>
    SQL>@c:\scottroles.sql <>
    SQL> host imp system/oracle fromuser=scott touser=newscott file=c:\scottschema.dmp log=scottimp.log
    Import: Release 10.1.0.2.0 - Production on Tue Dec 12 09:54:39 2006Copyright (c) 1982, 2004, Oracle.
    All rights reserved.Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - ProductionWith the Partitioning, OLAP and Data Mining optionsExport file created by EXPORT:V10.01.00 via conventional pathimport done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set. importing SCOTT's objects into NEWSCOTT. .
    importing table "A" 0 rows imported. . importing table "ABCDEFGHIJKLMNOPQRSTUVWXYZ" 0 rows imported. .
    importing table "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234" 0 rows imported
    SQL>drop user scott cascade;
    SQL> select username,user_id from user_users;
    USERNAME USER_ID
    NEWSCOTT 5
    81 row selected.
    SQL> select count(*) from session_privs;
    COUNT(*)
    81
    1 row selected.
    SQL> select count(*) from session_roles;
    COUNT(*)
    6
    1 row selected.
    SQL>Try above scripts if it is help
    regards
    Taj
    Message was edited by:
    M. Taj

  • EXP-00008 + ORA-06544 + ORA-06553 + ORA-06508 error while exporting schema

    HI,
    i am exporting schema defnition from database;
    bash-2.05$ exp userid=pin/pin file=pin.dmp log=pin.log owner=pin rows=no
    i am getting this error:
    Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - 64bit Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - 64bit Production
    Export done in US7ASCII character set and UTF8 NCHAR character set
    server uses UTF8 character set (possible charset conversion)
    Note: table data (rows) will not be exported
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    EXP-00008: ORACLE error 6544 encountered
    ORA-06544: PL/SQL: internal error, arguments: [56319], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [56319]
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_REPCAT_RGT_EXP.schema_info_exp
    . exporting foreign function library names for user PIN
    . exporting object type definitions for user PIN
    About to export PIN's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export PIN's tables via Conventional Path ...
    . . exporting table 109_31OCT2008
    . . exporting table 109_gl_juntooct2008
    . . exporting table ACCOUNT_BALANCES_BACKUP_T
    . . exporting table ACCOUNT_BALANCES_T
    . . exporting table ACCOUNT_BALANCES_THRESHOLDS_T
    . . exporting table ACCOUNT_BALANCES_T_06NOV01
    . . exporting table ACCOUNT_BALANCES_T_31MAR07
    . . exporting table ACCOUNT_EXEMPTIONS_T
    . . exporting table ACCOUNT_INTERNAL_NOTES_BUF
    :. exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting snapshots
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    EXP-00008: ORACLE error 6544 encountered
    ORA-06544: PL/SQL: internal error, arguments: [56319], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [56319]
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_REPCAT_RGT_EXP.schema_info_exp
    . exporting statistics
    Export terminated successfully with warnings.
    please could any body guide me what is the exact problem.
    Thanks
    Prakash

    Hi,
    bash-2.05$ exp pin/pin file=mypinfile.dmp log=mypinfile.log rows=N
    Connected to: Oracle8i Enterprise Edition Release 8.1.7.0.0 - 64bit Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - 64bit Production
    Export done in US7ASCII character set and UTF8 NCHAR character set
    server uses UTF8 character set (possible charset conversion)
    Note: table data (rows) will not be exported
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    EXP-00008: ORACLE error 6544 encountered
    ORA-06544: PL/SQL: internal error, arguments: [56319], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [56319]
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_REPCAT_RGT_EXP.schema_info_exp
    . exporting foreign function library names for user PIN
    . exporting object type definitions for user PIN
    About to export PIN's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export PIN's tables via Conventional Path ...
    . . exporting table 109_31OCT2008
    . . exporting table 109_gl_juntooct2008
    . . exporting table ACCOUNT_BALANCES_BACKUP_T
    . . exporting table ACCOUNT_BALANCES_T
    . . exporting table ACCOUNT_BALANCES_THRESHOLDS_T
    . . exporting table ACCOUNT_BALANCES_T_06NOV01
    .. . exporting table YOU_VRC_TRANS_DETAILS_T
    . . exporting table YOU_VRC_TRANS_T
    . . exporting table ZONEMAP_DATA_DERIVED_T
    . . exporting table ZONEMAP_DATA_RAW_T
    . . exporting table ZONEMAP_T
    . . exporting table cust_balance19
    . . exporting table cust_balance_ason_19June12AM
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting snapshots
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    EXP-00008: ORACLE error 6544 encountered
    ORA-06544: PL/SQL: internal error, arguments: [56319], [], [], [], [], [], [], []
    ORA-06553: PLS-801: internal error [56319]
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when calling SYS.DBMS_REPCAT_RGT_EXP.schema_info_exp
    . exporting statistics
    Export terminated successfully with warnings.
    i think it some problem with SYS.DBMS_REPCAT_RGT_EXP package
    SQL> select status, object_type, LAST_DDL_TIME from dba_objects where object_name='DBMS_REPCAT_RGT_EXP';
    STATUS OBJECT_TYPE LAST_DDL_
    VALID PACKAGE 25-DEC-08
    INVALID PACKAGE BODY 02-SEP-01
    Thanks
    Prakash
    T

  • How to set user privilege

    i want to NEW USER excute procedure which
    is other schema!
    i want not to use prefix for execute procedure!
    how to set NEW user privilege?
    null

    Hi
    I create a user in a Database using SQL developer,
    so it is a Database User.
    Now I want to give this user access to some table in
    read , write mode and just let it to read some other
    tables.
    how i can do this ? SQL*Developer currently doesn't support security admininstration through the GUI, but you can use sqlworksheet to issue grant statements.
    grant select on mytable to otheruser1;
    grant select,insert,update,delete on mytable to otheruser2;
    It looks like that when we create a use SQL developer
    create a schema for that user , how i can make more
    users without creating Schema for each of them ?
    A schema is the collection of objects owned by a user. A user can exist without owning any objects.
    If you are using XE, you might be better off using the XE GUI to manage this.

  • How to create database link between 2 servers to exports schemas

    Could any one please give Steps to create database link between 2 servers (linux)  to exports schemas like AR, INV, GL.......etc

    Hi Mouni,
    As i suggest above, please use the REMAP_SCHEMA parameter, so that you can create those objects which are getting created in the Apps Schema in the XBSI schema, I have already provided the syntax above.
    ORA-31684: Object type VIEW:"XBSI"."XBSI_ORDER_LINE_INFO_V" already exists
    ORA-31684: Object type VIEW:"XBSI"."XBSI_SERIAL_NO_V" already exists
    ORA-31684: Object type VIEW:"XBSI"."XBSI_ONHAND_BALANCES" already exists
    ORA-31684: Object type VIEW:"XBSI"."XBSI_PURCHASE_ORDERS" already exists
    ORA-31684: Object type VIEW:"XBSI"."XBSI_ORDER_HEADER_INFO_V" already exists
    ORA-31684: Object type VIEW:"XBSI"."XBSI_ORGANIZATION_ITEMS" already exists
    ORA-31684: Object type VIEW:"XBSI"."XBSI_PE_FIND_RESULT" already exists
    You are facing these errors as you have already done the import, and when you try to re-import it says those objects are already available. If this fresh import, Please drop the the new user you have already created in the Datawarehouse instance, and recreate the User and start a fresh import.
    Hope this help!
    Thanks &
    Best Regards,

  • How to make export with sensitive user data encrypted?

    My organization need a backup dump of prod database sent to a customer, but want me to encrypt some user's password, and some data.
    Which expdp parameter can do that?
    Or any way I can do that ?
    Thanks in advance.

    To show you how export and import be encrypted at very basic level here is an example of exporting schema rmanencrypt from database orcl (source) to devorcl (target database)
    Encrypted export of schema "rmanencrypt"
    Source Database
    [oracle@localhost ~]$ expdp \'/as sysdba\' DIRECTORY=DATA_PUMP_DIR DUMPFILE=encrypted.dmp schemas=rmanencrypt LOGFILE=encrypted.log ENCRYPTION=ALL ENCRYPTION_PASSWORD=foobar
    Export: Release 11.2.0.3.0 - Production on Wed Jan 11 11:21:47 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Starting "SYS"."SYS_EXPORT_SCHEMA_01":  "/******** AS SYSDBA" DIRECTORY=DATA_PUMP_DIR DUMPFILE=encrypted.dmp schemas=rmanencrypt LOGFILE=encrypted.log ENCRYPTION=ALL ENCRYPTION_PASSWORD=********
    Estimate in progress using BLOCKS method...
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Total estimation using BLOCKS method: 128 KB
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    . . exported "RMANENCRYPT"."D"                           5.945 KB       4 rows
    . . exported "RMANENCRYPT"."E"                           8.578 KB      14 rows
    Master table "SYS"."SYS_EXPORT_SCHEMA_01" successfully loaded/unloaded
    Dump file set for SYS.SYS_EXPORT_SCHEMA_01 is:
      /home/oracle/app/oracle/admin/orcl/dpdump/encrypted.dmp
    Job "SYS"."SYS_EXPORT_SCHEMA_01" successfully completed at 11:22:36At Target Database this schema doesn't exists.
    SQL> r
      1  select username from dba_users
      2* where username='RMANENCRYPT'
    no rows selectedNow importing the backup first by giving a wrong password.
    [oracle@localhost dpdump]$ impdp \'/as sysdba\' DIRECTORY=DATA_PUMP_DIR DUMPFILE=encrypted.dmp ENCRYPTION_PASSWORD=fooba
    Import: Release 11.2.0.3.0 - Production on Wed Jan 11 11:27:31 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORA-39002: invalid operation
    ORA-39176: Encryption password is incorrect.Now with correct password
    [oracle@localhost dpdump]$ impdp \'/as sysdba\' DIRECTORY=DATA_PUMP_DIR DUMPFILE=encrypted.dmp ENCRYPTION_PASSWORD=foobar
    Import: Release 11.2.0.3.0 - Production on Wed Jan 11 11:27:47 2012
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "SYS"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "SYS"."SYS_IMPORT_FULL_01":  "/******** AS SYSDBA" DIRECTORY=DATA_PUMP_DIR DUMPFILE=encrypted.dmp ENCRYPTION_PASSWORD=********
    Processing object type SCHEMA_EXPORT/USER
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    . . imported "RMANENCRYPT"."D"                           5.945 KB       4 rows
    . . imported "RMANENCRYPT"."E"                           8.578 KB      14 rows
    Job "SYS"."SYS_IMPORT_FULL_01" successfully completed at 11:27:58
    SQL> conn rmanencrypt/rmanencrypt
    Connected.
    SQL> select * from tab;
    TNAME                          TABTYPE  CLUSTERID
    D                              TABLE
    E                              TABLEHTH.
    Regards,
    NC

  • Export schema with data

    Good Morning All,
    I would like to export schema with data to another.
    Any help?
    Thanks in advance,
    EB NY

    If you have a few tables...quick and dirty way is to
    create new_table as select * from old_schema.tableOtherwise depending on what version you are on and you have access, use exp/data pump.
    Alot of good pages on using expdp but the general syntax is
    1st, make the directories
    connect / as sysdba
    grant create any directory to org_schema_user;
    create or replace directory dump_directory as '/my_directory_on_the_file_system/';
    grant read, write on directory dump_directory to org_schema_user;
    grant read, write on directory dump_directory to new_schema_user;export
    expdp user/password schemas=start_schema directory=dump_directory dumpfile=my_dmp_file.dmp logfile=my_dmp_file_export.logimport
    impdp new_user/password remap_schema=old_schema:new_schema directory=dump_directory dumpfile=my_dmp_file.dmp logfile=my_dmp_file_import.log

  • Export schema - IOException in sending Request

    I am trying to export schema through EM to a file but I am getting error message
    Error - IOException in sending Request :: Incorrect stream type, doesn't allow push back of bytes.
    User account has "exp_full_database" role assigned. Procedure also asks me for "hostname and password" which I assume is 'oracle' account for which I have password as well. Where should I look for a solution?

    Maybe start looking around ??
    Type your error into Google and - hey - look what it finds:
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=228770&tstart=-2
    or here:
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=749964.1
    Success!!

  • EXPORT SCHEMA 'S ALL TABLES AND PROCEDURES BY EXPDP

    how i can export schema's all tables and procedures using expdp.
    when i am giving expdp usr/pass schemas=scott directory=export_dir dumpfile=280606.DMP logfile=280606.log tables=*
    but it is giving error.
    pls help
    regards
    Prabhaker

    You only need to specify parameter USER or TABLES , no need of both
    specify USER=SCOTT then it will export all objects in SCOTT

  • Export schema with tablespace

    Hi all,
    I exported schema pro with index=yes, rows=no, trigger=yes...
    when i import to another database. I have to create tablespace for schema pro in new database.
    how can i export and then import without having to create tablespace in new database for schema pro.
    Thank you!

    Dan wrote:
    Hi all,
    I exported schema pro with index=yes, rows=no, trigger=yes...
    when i import to another database. I have to create tablespace for schema pro in new database.
    how can i export and then import without having to create tablespace in new database for schema pro.
    Thank you!
    [oracle@wissem ~]$ exp wissem file=USERS.dmp log=USERS.log TABLESPACES=USERS
    Export: Release 11.2.0.1.0 - Production on Sat Sep 3 10:00:03 2011
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Password:
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses AL32UTF8 character set (possible charset conversion)
    About to export selected tablespaces ...
    For tablespace USERS ...
    . exporting cluster definitions
    . exporting table definitions
    . . exporting table                           DEPT          4 rows exported
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table                            EMP         14 rows exported
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    . . exporting table                       SALGRADE          5 rows exported
    EXP-00091: Exporting questionable statistics.
    . . exporting table                          SALES          2 rows exported
    EXP-00091: Exporting questionable statistics.
    . . exporting table                     SALES_LIST
    . . exporting partition                     SALES_WEST          1 rows exported
    . . exporting partition                     SALES_EAST          1 rows exported
    . . exporting partition                  SALES_CENTRAL          0 rows exported
    EXP-00091: Exporting questionable statistics.
    . . exporting table          SALES_LIST.SALES_EAST          4 rows exported
    EXP-00091: Exporting questionable statistics.
    . exporting referential integrity constraints
    . exporting triggers
    Export terminated successfully with warnings.
    [oracle@wissem ~]$

  • Export schema from tablespace

    Hello Everyone,
    I work with an enterprise application that uses oracle to store meta data and objects as well as BLOB's in the tablespace.
    I have a question about exporting schema's from a table space.
    I have Oracle 9.2.0.8 in Windows 2003.
    I have a tablespace called TestData02, I created 2 users (orauser1 and orauser2) both with this table space as the default. From within my enterprise application I would use it's tool to initialize the tablespace and create a schema.
    What I did was create 2 schema's under one tablespace, one schema owned by 'orauser1' and another by 'orauser2'.
    Now I'd like to export everything owned by the user 'orauser2' and create a new tablespace called TestData03 and import this schema and all associated data and BLOBS into here.
    I've been reading about the exp and imp tools, but just can't figure out how to export a schema ... I did figure out (i think) how to export the entire table space, but thats not what I want.
    Can anyone help me ... I am quite new to oracle.

    Hi Pavan,
    Before 10g expdp and impdp (this is one of the reasons why versions are really important), any ''dependent' objects will not be 'remapped'.
    Let's say you have T1 in TS1, and a primary key in IX_TS1.
    Now you move the table to a different user with different tablespaces.
    You can 'move' the table, using the default tablespace of the new owner, however, the index will be created in the old tablespace.
    This is why you often need to precreate objects.
    Without seeing the definition of the LOBsegment, there is no conclusive evidence, but you probably do have a LOBsegment in TS1, which isn't going to be 'remapped'
    expdp and impdp will take care of this with the remap_tablespace clause.
    Sybrand Bakker
    Senior Oracle DBA

  • Postflight add user privilege to current user

    hallo..
    i'm new be in mac develop..
    in this case i wanna add current user privilege in a folder using postflight after i'm install my application from packagemaker
    i really don't know about postflight..
    please give an example.
    thanks..
    sorry my english bad..

    Hi,
    1) very first i wana to know how to give 1 particular schema privilege for example scott schema .. to multiple users (not only access the tables privilege) the complete connect role to multiple users.Refer to : http://download.oracle.com/docs/cd/B28359_01/network.111/b28531/authorization.htm
    2)second which users having which schema's connect privilege ..SELECT * FROM dba_role_privs WHERE granted_role='CONNECT'
    - Pavan Kumar N

  • How to find out user privilege using JPDK

    Hi All,
    How can I find out what type of user-privilege that a user has inside the renderBody method of the subclass of the BaseManagedRenderer class? e.g: whether the user has the Administer privilege.
    I looked through the ProviderUser object which can be obtained from the pr.getUser() (PortletRenderRequest.getUser()) and it does not seem to provide the method to get the user's privilege.
    Any insight is greatly appreciated!
    Thanks,
    Vince

    Vince,
    How did you figure out calling the is_user_in_group or other
    similar function calls in the WWSEC_API?
    I tried making a regular SQL Statement by doing the following.
    CallableStatement callablestatement = conn.prepareCall
    ("begin ? := wwsec_api.is_user_in_group(?,?); end;");
    callablestatement.registerOutParameter(1, 12);
    callablestatement.setInt(2, 17);
    callablestatement.setInt(3, 0);
    callablestatement.execute();
    boolean s2 = callablestatement.getBoolean(1);
    callablestatement.close();
    but it fails with the following exception in the JSP...
    java.sql.SQLException: ORA-06550: line 1, column 13: PLS-00382:
    expression is of wrong type ORA-06550: line 1, column 7: PL/SQL:
    Statement ignored
    Can you shed some light on the problem?
    Thanks,
    Niket Parikh

  • OBIEE11g: Set user privileges to  Open RPD in Read Only mode.

    Hi All,
    Can some one help me , how to set user privileges to open RPD in read only mode.
    1) If a user ( xxxx) logs into the RPD then the rpd should open in Read Only Mode for xxxx user.
    2) If other user (YYYY) logs in online mode then it should open in online mode for other user (YYYY).
    How to set the security to achieve this.

    863866 wrote:
    Hi All,
    Can some one help me , how to set user privileges to open RPD in read only mode.
    1) If a user ( xxxx) logs into the RPD then the rpd should open in Read Only Mode for xxxx user.
    2) If other user (YYYY) logs in online mode then it should open in online mode for other user (YYYY).
    How to set the security to achieve this.Hi,
    I don't think it's possible, can go with metadata dictionary option which is also help to analysis RPD.
    refer section,
    http://docs.oracle.com/cd/E23943_01/bi.1111/e10540/utilitiesexprbldr.htm#BIEMG325
    Thanks
    Deva

Maybe you are looking for

  • I can't get it to work, HE

    Hi, I was wondering if anybody can help. I just got my creative and I can't seem to get it to work it keeps saying "select music to PLAY from the music library" I can't get anything else to work.

  • Queue processing of messages (files / idocs)

    Hi, We have 4 communication channels: INT A 1 filesender (file) 1 filereceiver (idoc) INT B 1 filesender (file) 1 filereceiver (idoc) So, the issue is we need to process the messages in order. First, 2 files from INT A, next 1 file from INT B. The co

  • Simple Conversion Program

    Hey I'm taking a class and the teacher told us to create a program that would convert strings into numbers, change them with an algorithm, and then convert them back into strings. He wants to be able to type in a sentance and have the computer change

  • AS3 to make movie clip not play on default?

    I created a movie clip that I want to play when a button is clicked and stop when another button is clicked. I have a stop action on the first frame where the 2 buttons appear and the movie clips resides. When I test the movie, the movie clip plays b

  • Removing Email Header Photo

    I don't know how it got there, but there is a photo attached in the header to mail I send. Can't see how to remove it in preferences. Can anyone help? David