Edit tables in other user schema

Hello all,
Is there a way to allow a user to edit tables for another user?? For example, suppose user A has tables X, Y and Z. I need user B to be able to edit those tables in SQL Developer.
I have granted user B everything on A's tables, but once user B log to SQL Developer-> Other Users -> Tables. Right click any table and choose edit, an error message is displayed "The database user has insufficient privileges for the given operation"
I am kindly asking for help regarding this issue.
Regards,
Emad

I do believe so. I have tried to grant select any dictionary to the user and he still can not edit the tables in the other schema.
I do hope Oracle solve this if it is a bug.

Similar Messages

  • Share and edit notes with other users

    Can I share and edit notes with other users in a standard app, e.g. notes, the same way I share my calender?

    Sharing of notes will require you to also share contacts, calendars and reminders (in other words, you will be sharing all data). 
    For a "shopping list", I would recommend you share a reminders list.  It is similar to sharing a calendar, but it would keep your contacts and other data separate.  Just my opinion.

  • How can I create a table in other's schema?

    I have two users say 'user1' and 'sanju' along with other users in the database.Both the users are granted a connect role. I have connected as a 'sanju' user. Now I want to create a table in schema 'user1'.
    Please note that user 'sanju' should not be allowed to create table in any other user's schema.
    I have set the current schema of 'sanju' as 'user1'.
    ALTER SESSION SET CURRENT_SCHEMA=USER1
    I know that 'grant create ANY table to sanju' will allow 'sanju' to create table in all the schema. I dont want that. Is there any way to create a table in any other's schema?
    Please answer ASAP

    This is not directly possible, but you can use following workaround:
    connect user1/passwd
    create or replace procedure testCreateTable as
    begin
    execute immediate 'create table user1.testTable(c char)';
    end test;
    grant execute on testCreateTable to sanju;
    connect sanju/passwd
    execute testCreateTable
    Of course, you can make this procedure more generic by specifying the necessary parameter.
    Please not that this procedure only works, if user1 was granted the create table privilege directly, and not through a role (e.g. dba), because roles are disabled when executing

  • Create user/schema is script, then tables for that user/schema

    Hi;
    First off, if I phrase this a little wrong - I'm from the Sql Server world and still trying to totally understand Oracle.
    I have a schema (.sql file) that creates my database fine. But what I would liek to add to the .sql schema is for it to create a user and then place all the tables, indexes, sequences, and triggers in as belonging to that created user.
    This way we can tell people to log in as sysop and run the script to create the schema rather than create the user, log in as the user, then run the script.
    What do I need to add?
    thanks - dave

    Hi;
    I have tried:
    CREATE USER DAVE IDENTIFIED BY password;
    CONNECT DAVE/password AS SYSDBA
    I have also tried:
    CONNECT DAVE/password AS SYSTEM
    CONNECT DAVE AS SYSDBA
    CONNECT DAVE
    In all cases ApplicationExpress says it does not recognize the CONNECT command. Should I do something different? What I want to accomplish is that all subsequent commands in the script creating tables, indexes, etc are assigned to the user/schema DAVE.
    thanks - dave

  • EVT_, SM and SMP_ tables in a user schema

    I found some tables and indexes in a user schema that this user hasn't created. 15 tables have a prefix EVT_, about 35 start with SM and about 30 have the prefix SMP_ . It seems they are some type of tables created by Oracle. What are they for and can they be deleted?
    Thanks in advance!
    Best regards,
    Tzonka
    Please see the list of some of them:
    TABLE TABLESPACE
    EVT_CARRIER_CONFIGURATION USERS
    EVT_DEST_PROFILE USERS
    EVT_HISTORY USERS
    EVT_INSTANCE USERS
    EVT_MAIL_CONFIGURATION USERS
    EVT_MONITOR_NODE USERS
    EVT_NOTIFY_STATUS USERS
    EVT_OPERATORS USERS
    EVT_OPERATORS_ADDITIONAL USERS
    EVT_OPERATORS_SYSTEMS USERS
    EVT_OUTSTANDING USERS
    EVT_PROFILE USERS
    EVT_PROFILE_EVENTS USERS
    EVT_REGISTRY USERS
    EVT_REGISTRY_BACKLOG USERS
    PLAN_TABLE USERS
    SMACTUALPARAMETER_S USERS
    SMAGENTJOB_S USERS
    SMARCHIVE_S USERS
    SMBREAKABLELINKS USERS
    SMCLIQUE USERS
    SMCONFIGURATION USERS
    SMCONSOLESOSETTING_S USERS
    SMDATABASE_S USERS
    SMP_AD_ADDRESSES_ USERS
    SMP_AD_DISCOVERED_NODES_ USERS
    SMP_AD_NODES_ USERS
    SMP_AD_PARMS_ USERS
    SMP_AUTO_DISCOVERY_ITEM_ USERS
    SMP_AUTO_DISCOVERY_PARMS_ USERS
    SMP_BLOB_ USERS
    SMP_BRM_ACTIVE_JOB_ USERS
    SMP_BRM_CHANNEL_DEVICE_ USERS
    SMP_BRM_DEFAULT_CHANNEL_ USERS
    SMP_BRM_RC_CONNECT_STRING_ USERS
    SMP_BRM_SAVED_JOB_ USERS
    SMP_BRM_TEMP_SCRIPTS_ USERS
    And some indexes:
    TABLE INDEX TABLESPACE
    EVT_CARRIER_CONFIGURATION SYS_C006660 USERS
    EVT_MONITOR_NODE SYS_C006662 USERS
    EVT_OPERATORS SYS_C006664 USERS
    EVT_PROFILE SYS_C006668 USERS
    ... etc.

    Hi,
    >>What are they for
    As I know SMP_ and EVT_ tables are used by Enterprise Manager, and comprise the Enterprise Manager Repository. When logging into Enterprise Manager, always log in as the repository owner.
    >>can they be deleted?
    if your oem repository owner is different from the user in which these tables are listed then the objects can be dropped
    Cheers

  • Error creating view with tables of other user

    I am creating of view containing two tables of another user. I
    am a dba-user.
    The statement looks like this:
    CREATE VIEW TEST
    (SELECT ...
    FROM DWH.TABLE_A A, DWH.TABLE_B B
    WHERE A.ID = B.ID)
    I get an error-message (ORA-00942: Table or view not found).
    When I create the view as user DWH, everything went OK. I don't
    think it has something to do with privileges since I am the dba-
    user.
    How can I create a view using other users tables?

    Hi
    To create view on table of another user you need to have select
    privilege grant directly to you - not to role granted to you. In
    your case you can select tables because you have granted dba
    role and it has select any table prvivilege, but you havent
    directly granted this rights without role.
    Regards

  • Cannot edit tracks in other user account.

    I moved some MP3's over to my other user account and iTunes will not let me rename them. I made sure that the permissions where changed to allow this. The only thing I can find thats different is under the file info, the "locked" check box is grayed out. Its not checked, its just grayed out. Any ideas?
    Also, I do not believe they are DRM protected as I AM able to edit them in my current user account.
    Thank you!

    Using Apple-I on the mp3 I have the following permissions at the bottom:
    admin read & write
    name of 2nd account read & write
    current account (primary) read & write
    staff read & write
    everyone read & write
    Is this what you mean?
    Oh. The "other user" is not where I downloaded the files if thats what you mean. I downloaded them on my primary account and then moved them over to the secondary account.
    Message was edited by: DJ Kaliber

  • DBA role required to see indexes in Other Users schema

    When my developers try to view indexes owned by other users that are unable to see them unless the have been added to the DBA Role. Is this a requirement to view indexes owned by others? Are there lesser privs than DBA that will allow this?

    The developer already has this privilege. Using other development tools he can see the indexes in other schemas. It appears to be a problem or setting in SQL Developer. We are running version 1.2.1. Any other thoughts?

  • Selection of tables from other users.

    Hi,
    Is there any other way to select the tables of other schema other than using Schema name.table name.
    Thanks,
    Suresh Bommalata.

    Suresh Bommalata wrote:
    Hi,
    Is there any other way to select the tables of other schema other than using Schema name.table name.
    Thanks,
    Suresh Bommalata.Dear Suresh
    Please start reading the documentation from http://tahiti.oracle.com and stop asking "another ways" of any action in Oracle
    And please close the thread if you get the correct answer
    Is there any other way to select the tables of other schema other than using Schema name.table name.You can create a synonym based on schema_name.table_name and use the synonym to query the table

  • How to create view/table from other user's view/table

    Hi all
    I'm using Oracle database 10g.
    I create table/view on user XXX, how to I create table/view on user YYY from user XXX.
    Thankyou,
    Thiensu2810

    user8248216 wrote:
    Hi all
    I'm using Oracle database 10g.
    I create table/view on user XXX, how to I create table/view on user YYY from user XXX.
    Thankyou,
    Thiensu2810grant select on xxx.table_name to yyy;
    create table/view table/view_name as select * from xxx.table_name;

  • Allowing a user to create/drop tables in another users schema

    We have a central shared schema (TEAM). So we can monitor who is doing what users have there own login(USER1, USER2...). Is there a way to allow a user to create/drop objects in another user.
    I.e.
    SQL> connect USER1
    SQL> create team.table1(col1 char(1));
    SQL> drop table team.table1:
    How can this be set up?
    Ben

    Here is what you can do, If you want to keep track of what users are doing.
    Open the glogin.sql file and set the spool like this
    spool /oracle/audit/SID_&_user.logEverytime user logs in it will be populated and you will be able to see who is doing what.
    You can remove the write permission on glogin.sql so that no one can modify it.
    You also need to create a script like this, which would rename it every time same user would login.
    #!/bin/ksh
    time=`date +"%b"_"%d"_"%H"_"%M"`
    ##you need to pass some more variables and while loop to include all the users## ( This is just for an example)
    if [ -f /oracle/audit/SID_SYS.log ]
    then
    mv /oracle/audit/SYS.log /oracle/audit/SYS.log.$time
    fiEdit the glogin.sql file with this script information like this
    host /oracle/audit/file.kshHope this helps, if you need more information let me know.

  • Access other user (schema) object

    hai all
    i have two users in the same sever user1,user2.(10g)
    i want to use user1.package in user2.
    how can I ? Is it the right way or any other way it possible?
    if i give like user2.user.pack.procedure();
    itis giving the compilation error worng no of arguments
    PLS-00306
    if remove that block was complied.
    thanks all
    Edited by: siva on Jul 8, 2010 9:53 AM

    hai all
    i have two users in the same sever user1,user2.(10g)
    i want to use user1.package in user2.
    how can I ? Is it the right way or any other way it possible?
    if i give like user2.user.pack.procedure();
    itis giving the compilation error worng no of arguments
    PLS-00306
    if remove that block was complied.
    try these steps.. in sequence..
    1 - Grant Execute on Procedure_name to User2
    2 - Check the number of Arguments which you are passing in the Procedure (specifically for the non default parameters)
    3 - Check whether you passing the parameters in the correct manner or not (position wise)
    Or.. if again the error exists do.. post the parameters which ur trying to pass..
    Thanks..

  • How to copy all tables, triggers, etc from one user schema to another

    Hello everybody!
    I am searching for a QUERY or Stored Procedure to copy the tables of one user schema to another schema.
    Should look kind of: Copy (Select * from all_objects where owner = 'UserIwantToCopyFrom') to user = 'UserIwantToCopyTO'
    I am sure that my example is rubbish but I tried to explain what I want to do.
    So is there a chance to do that within sql-code? I have to build a template of a user schema with hundreds of tables, triggers, etc and copy it to several other user schemas.
    Thanks for your advice!
    Jan

    There are numerous examples available.
    What you typically will want to do is:
    For the export use the job_mode => 'SCHEMA' option
    Export example
    http://www.oracle-base.com/articles/10g/OracleDataPump10g.php
    DECLARE
      l_dp_handle       NUMBER;
      l_last_job_state  VARCHAR2(30) := 'UNDEFINED';
      l_job_state       VARCHAR2(30) := 'UNDEFINED';
      l_sts             KU$_STATUS;
    BEGIN
      l_dp_handle := DBMS_DATAPUMP.open(
        operation   => 'EXPORT',
        job_mode    => 'SCHEMA',
        remote_link => NULL,
        job_name    => 'EMP_EXPORT',
        version     => 'LATEST');
      DBMS_DATAPUMP.add_file(
        handle    => l_dp_handle,
        filename  => 'SCOTT.dmp',
        directory => 'TEST_DIR');
      DBMS_DATAPUMP.add_file(
        handle    => l_dp_handle,
        filename  => 'SCOTT.log',
        directory => 'TEST_DIR',
        filetype  => DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE);
      DBMS_DATAPUMP.metadata_filter(
        handle => l_dp_handle,
        name   => 'SCHEMA_EXPR',
        value  => '= ''SCOTT''');
      DBMS_DATAPUMP.start_job(l_dp_handle);
      DBMS_DATAPUMP.detach(l_dp_handle);
    END;
    /for the import you will have to use the remap_schema option with:
    DBMS_DATAPUMP.METADATA_REMAP (
       handle      IN NUMBER,
       name        IN VARCHAR2,
       old_value   IN VARCHAR2,
       value       IN VARCHAR2,
       object_type IN VARCHAR2 DEFAULT NULL);There are much more details in the document that Thierry provided.

  • Revoking User tables privileges from one user to other user thru DBA.

    Hi,
    I want to revoke the select privilege from user granted tables to other user from Sys/Dba roled user.
    Detail
    ---------------I have 3 users namely
    1.User1 (Role: Normal User)
    2.User2 (Role: Normal User)
    3.SYS (Role: DBA privileged user)
    User1 has created a table called Table1 and grant the select privilege to User2.
    Is it possible that sys (DBA privileged user) user can revoke the select privilege of table1 from user2??.
    Thanks,
    Natarajan.U

    You can not revoke the privileges that were not granted by you or you will hit the error ORA-01927: cannot REVOKE privileges you did not grant.
    Even SYS/user with SYSDBA role can not revoke others grants.

  • How many users/ schemas can we create in an oracle database?

    How many users can we create in an oracle database? Or how many users can oracle handle?
    Problem-
    I have to store information of ontologies (I will use countries instead) in db.
    I have to store information regarding countries.
    I have 13 tables in all to maintain for each country.
    Now there are two approaches:
    1) keep only 13 tables. Have an extra column in each table to indicate that a particular
    row stores information for which country.
    2) create a new user/ schema for each country. So we can get rid of the extra column
    needed in 1st approach.
    I have used the second approach. This is because number of entries in each table for a
    given country will be large.
    So initially when the s/w is installed I create a central-user. Each time data for new
    country has to be entered central-user creates a user/ schema, and creates tables for
    this user/ schema. The central user can access the tables of all the countries by
    country_name.table_name. By this approach I believe searching would be easy.
    If there is any flaw in my approach kindly mention it.
    Thank you

    There is no (practical at least) limit to the number of users & schemas you can have in Oracle.
    Your approach, however, is not going to scale nearly as well as the first option you outlined (adding a column). You are going to end up caching every possible variation of the various queries you're going to be executing because you will be referring to so many different tables, which is going to mean that you are doing a lot more work to parsing statements and generally churning through the shared pool. If you create enough users, you're liable to start hitting ORA-04030 errors because your shared pool is so fragmented.
    Additionally, you're likely going to end up with a whole lot of dynamically generated SQL to accommodate new schemas getting added over time which is going to cause you even more pain. Figuring out dynamically what table to join in is a heck of a lot more difficult for the programmer to write and for the database to handle than simply passing in a different country code.
    If you're concerned about having too much data, you can have your cake and eat it to by adding the country column and partitioning the tables based on country.
    Justin
    One other item I forgot to mention is maintainability. Having dozens or hundreds of "identical" schemas makes maintenance a huge pain because something like adding a new column now requires dozens or hundreds of separate DDL statements. You're almost guaranteed that some schema isn't going to be in sync-- it's going to miss a column or miss an index, etc.
    Message was edited by:
    Justin Cave

Maybe you are looking for

  • Live photo

    Hi everyone Not sure if this is in the right forum or not but my Windows Server 2011 SBS has screensaver set to Windows Live Photo Gallery which should subsequently play some photo's stored on my server, but it doesn't! I've tried changing the locati

  • Issue with Service PO Process in Production Server

    Hi, We are doing the Process of Service PO. First create Service Master through AC01 with Material Group 603010. Now during Service PO, by mistake we insert Material Group 605010 inplace of 603010 in PO line item...After that GR has been done... Till

  • Error in Servlet

    I am trying one servlet. But during compilation it is giving errors. My Code : // This Servlet tries to get the meaning of the word Client has entered. import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public

  • Dropdown boxes selection-additional form field

    FormsCentral -->Templates tab -->  Trade Seminar R.S.V.P Form ( https://adobeformscentral.com/?f=fFzLm5nQP1QqDDU2UeQTsw&preview# ) In this form there is a feature I would like to create in one of my forms. Under "meals" if you select "other" an extra

  • Is it possible to install oracle 11g client 32 bit and oracle 11g client 64

    Hi, I have Windows 2008 R2 64 Bit Operating Server Installed. Other software that are Installed : 1) Visual Studio 2010 Ultimate 32 Bit. 2) Microsoft SharePoint server 2010 64 Bit. For my development purpose I want to install both oracle 11g client 3