How to create a new user, USERA, to have all the objects of USERB?

Question as the title.
Also, the USERA can only SELECT the objects of USERB.
There is no any other previlage available to USERA.
Thanks in advance.

Hi, If USERA can ONLY see the objects of USERB, than granting SELECT ANY TABLE will not help, with this privilege USERA wil be able to select pretty much any table in the database, except for dictionary tables.
I think what you need to do is create USERA, create public synonyms for all the tables under USERB, grant select to USERA on all the tables individually owned by USERB( if there are many tables that you can generate a script using SQL).
This USERA will only have access to USERB tables and has only SELECT access and any other user whom you want to access these tables, you create the same grant script and run it.
This way you need not have to maintain a seperate copy of all the USERB tables under USERA .
Hope this helps.
-Ramki

Similar Messages

  • How to create a new admin user in oracle 9i?.

    Hi I am new to oracle. I want to set up a new database for my application.
    How to create a new admin user in oracle 9i?. I would like to have a new schema. where I can create tables for my application from scratch.

    If I understand your question correctly:
    You need to be connected to the database with the user SYS.
    open a command-line session and do the following to create an Oracle user with DBA option other than SYS.
    C:\>sqlplus /nolog
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 14 08:46:13 2005
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    SQL> conn  /  as sysdba
    Connected.
    SQL>
    SQL> create user test identified by pass;
    User created.
    SQL> grant create session to test;
    Grant succeeded.
    SQL> alter user test account unlock;
    User altered.
    SQL> grant dba to test with admin option;
    Grant succeeded.
    SQL> conn test/pass
    Connected.
    SQL>
    SQL> sho user
    USER is "TEST"
    SQL>Now you have a user with username 'test' and password 'pass' with DBA role with Admin option
    Tony Garabedian
    From now on you can connect directly with SQL*Plus no need for comman-line. Just provide the username/password and you're logged in.
    Message was edited by:
    Tony Garabedian

  • How to create a new application user by my application?

    Hello,
    I want to give the user of my application the possibility to create a new application user if necessary. The creation of a new user should be realized in my application. I tried to find the answer in the apex user guide, but I haven't found it. Can somebody tell me how to create a new application user in the implemented application (one page in application for creating users for my application)?
    Thanks,
    Bettina

    Hello Bettina,
    You can do that using the API: www_flow_fnd_user_api.create_fnd_user. If you look at that procedure in SQL Dev (or TOAD or whatever you like), you can see an example and the description of the arguments.
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.logica.com/

  • How to create a new tag in page properties in the sidekick of geometrrix page

    how to create a new tag in page properties in the sidekick of geometrrix pagesame as basic, advanced, blue print??

    Hi prachi,
        Is it tag OR Tab ? Seems like you are looking for Tab. Look at [1] & overlay to custamize per your need. Or define at your page component.
        [1]   /libs/foundation/components/page/dialog/items/tabs/items
    Thanks,
    Sham

  • How to create a single 'not null ' validation for all the items in a page ?

    Hi everyone ,
    how to create a single 'not null ' validation for all the items in a page ? I have many textfields . Instead of creating 'not null' validation for each item , I would like to create a a single validation control that will serve the purpose
    Thanks & Regards
    Umer

    Nice1 wrote:
    bob , as u said I have done the following :
    1) under create button , there are 9 items and for each item I have set Required to 'Yes'
    2) under delete button , there is 1 item and have set Required to 'Yes' for the item
    3) defined page validation for 9 items under 'create ' button and have set it to fire when 'create ' button clicked
    4) defined page validation for 1 item under 'delete ' button and have set it to fire when 'delete ' button clicked
    now , when I click 'create' button it even shows for the item under 'Delete ' button that it is a required itemSorry, I didn't see this note. The required template won't work, there is no way to attach it to the button.
    The best solution is as the reply a couple replies up
    Create 2 page type validations as a PL/SQL with code
    1st validation
    :P1_ITEM1 IS NOT NULL and :P1_ITEM2 IS NOT NULL ...... and :P1_ITEM9 IS NOT NULL  include all 9 items
    Set the When Button Pressed to the CREATE button
    2nd validation
    :P1_ITEM10 IS NOT NULL
    Set the When Button Pressed to the DELETE buttonI think that's going to be the easiest way to do it.
    Edited by: Bob37 on Apr 27, 2012 12:02 PM

  • If i plug my ipod into my new mac which doesnt have all the music that i previously put on my iPod, will i lose all that music if i sync with the new music on my itunes?

    my old computer crashed a while ago, before i was able to transfer my music to my new mac.....i have all the music on my ipod but im worried that ill lose all my music when i sync it with the itunes and new music. i know the purchased items will get transferred but im worried about losing all the other music?

    Follwo these instructions to not lose anything
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive: Apple Support Communities

  • How to create a new track with existing changes in the production

    Hi
    I need to create a new track for the ESS package with the existing changes that we already made to the ESS package. We already have a development track and the customisation to the ESS package has been already done in that track. Now my requirement is to create a new track ( DEV, CONS, TEST and PROD) with DEV having all the existing changes we made. In short how do I import the SCA's from development track PROD to the new track DEV. We are on NW2004 SPS20.
    points rewarded for helpful answers
    Thanks
    Sheril

    Param
    Have you done the import in DEV and CONS  and then Assembled .. ?
    If yes then go to /usr/sap/jtrans/CMS/archives/.......... -> check for the track name and then the last .SCA file in it . Copy that SCA file in the /usr/sap/jtrans/CMS/inbox  and go to the new track and configure the checkin to inbox ... You should see the SCA in there ... check those in and you are ready to have those SCA in your Production track ..
    If no then you need to know the NWDS functions .. I shall send you the details to bring the incomplete changes (not assembled) to new track .. let me know if the first one worked ..
    Thanks
    Rahul

  • How do I duplicate the exact playlists from my iphone 4th gen to my new ipod 4th gen 64gb?  So far I've created a new library for it, duplicated all the apps, books

    I'v been using an iphone 4 (16gb) for a year now, and have just got an ipod touch 4gen, 64gb.  I created a new library for this, and most of what I have managed to transfer everything onto the ipod touch.  However, although all my music has transferred, the playlists have not.  Do I have to transfer them manually?  That is, creating every playlist again, which would be a nuisance since I have 48 playlists and almost 250 pieces.  All the music have been bought from itunes. 
    What I plan to use the ipod for is mainly for books, magazines and itunes U podcasts.  Most other apps and music will be the same on both iphone and ipod.  Both are under my same apple id.  Please help, 'cos I've been searching for an answer on the internet and can't really find one.  Everything else has transferred expect the playlists.

    - Go to settings>Store and sign out and sign into your account.
    - Apps are locked to the account that purchased them.
    - To update apps you have to sign into the account that purchased the apps. If you have apps that need updating purchased from more than one account you have to update them one at a time until the remaining apps were purchased from one account.

  • How do you create a new local zone w/o all the global zone packages

    I have serveral servers with hundreds of packages added w/o the pkgadd -G option. Everytime I create a new local zone, the local zone inherits all the global zone packages. Is there a way to modify maybe the packaging DB to stop the automatic inhertitance of packages to create new empty local zone ?
    Edited by: cslew on Feb 4, 2008 8:02 PM

    Not really.
    If we're talking about sparse zones, they share the root partition with the global zone anyway, so regardless of whether the packages were 'registered' with the zones, they would get the software anyway.
    Of course, not registering the packages would speed up the patching process as it wouldnt have to futz around updating all the local package repositories.
    So it would be an advantage in some respects.
    If we're talking about a full root zone, then it ought to be possible in theory.
    But I'm not aware of a way to do it in practice.

  • How to create a playlist on my computer of all the songs on a device?

    ok, i have LOTS of music and i perfer to start over when i get a new device so i would like to get music from my old ipad to my new one without using auto downloads and all that.  i have more people on my account so it doesn't work anyway.  the real question is how do i create a playlist or a smart playlist on my computer that includes all the songs from one of my ipod devices.  that way i could have a playlist on my computer for every device to keep it organized for playing music atleast. 
    thanks for any help.

    Ok i got it figured out. since i had all the music on my computer it was just the fact of what i wanted. i went to my old ipad and created a playlist of ALL the songs then went into itunes right clicked that play list and exported it as a txt to my desktop.  i then in itunes clicked flie>library>import playlist.  selected that txt document and it imported to itunes library. i was then able to select all the songs in that play list and transfer them to my new ipad.

  • How to create a new Node and bind it to the wdContext root at run time

    Hi experts,
    Does anyone have sample code about 1) adding a new node to the root context, 2) give it a name and 3) referring to this newly created node with the conetxt path?
    Thanks

    Armin,
    I am trying to do this and keep getting erro about incompatible class:
    wdContext.getNodeInfo().addChild("DynamicNode",
                  mymodel.class,
                  true,
                  CMICardinality.ONE,
                  CMICardinality.ZERO_TO_ONE,
                  true,
                  wdContext.getContext().getStructure("com.my.structure") );
                  IWDNode node = wdContext.getChildNode("DynamicNode", 0);
                  IWDNodeElement e = node.createElement(an_instance_of mymodelObject());
                  node.addElement(e);
    Can I do it this way?

  • Join multiple tables to create one new table with data from all the other

    CREATE TABLE NAME2012 (STOCKNAME2012 VARCHAR(255), VAL2012 FLOAT)
    INSERT INTO NAME2012 VALUES (‘Stock3’, 50)
    INSERT INTO NAME2012 VALUES (‘Stock2’, 55)
    INSERT INTO NAME2012 VALUES (‘Stock4’, 45)
    CREATE TABLE NAME2011 (STOCKNAME2011 VARCHAR(255), VAL2011 FLOAT)
    INSERT INTO NAME2011 VALUES (‘Stock1’, 56)
    INSERT INTO NAME2011 VALUES (‘Stock2’, 48)
    INSERT INTO NAME2010 VALUES (‘Stock3’, 59)
    CREATE TABLE NAME2010 (STOCKNAME2010 VARCHAR(255), VAL2010 FLOAT )
    INSERT INTO NAME2010 VALUES (‘Stock1’, 47)
    INSERT INTO NAME2010 VALUES (‘Stock2’, 46)
    I would like a new Table STOCKS populated with names of stocks from the other tables as well as values. So I get a new table STOCKS, with data as below.
    CREATE TABLE STOCKS (NAME VARCHAR(255), VALUE2012 FLOAT , VALUE2011 FLOAT, VALUE2010 FLOAT)
    End result in table STOCKS should be like:
    NAME               VALUE2010              VALUE2011             
    VALUE2012
    Stock1                 47                          
    56                            NULL
    Stock2                 46                          
    48                             50
    Stock3                NULL                         59                          
     55
    Stock4                NULL                       NULL                         
    45
    How can I write a T-SQL expression that could do this?

    Hi
    There must be StockMaster
    Try this
    CREATE TABLE NAME2012 (
    STOCKNAME2012 VARCHAR(255)
    ,VAL2012 FLOAT
    INSERT INTO NAME2012
    VALUES (
    'Stock3'
    ,50
    INSERT INTO NAME2012
    VALUES (
    'Stock2'
    ,55
    INSERT INTO NAME2012
    VALUES (
    'Stock4'
    ,45
    CREATE TABLE NAME2011 (
    STOCKNAME2011 VARCHAR(255)
    ,VAL2011 FLOAT
    INSERT INTO NAME2011
    VALUES (
    'Stock1'
    ,56
    INSERT INTO NAME2011
    VALUES (
    'Stock2'
    ,48
    CREATE TABLE NAME2010 (
    STOCKNAME2010 VARCHAR(255)
    ,VAL2010 FLOAT
    INSERT INTO NAME2010
    VALUES (
    'Stock1'
    ,47
    INSERT INTO NAME2010
    VALUES (
    'Stock2'
    ,46
    INSERT INTO NAME2010
    VALUES (
    'Stock3'
    ,59
    Create table stockMaster(STOCKNAME VARCHAR(255))
    go
    Insert into stockMaster values('Stock1')
    Insert into stockMaster values('Stock2')
    Insert into stockMaster values('Stock3')
    Insert into stockMaster values('Stock4')
    Select Distinct S.STOCKNAME , A.VAL2010 ,B.VAL2011,C.VAL2012 from  stockMaster S
    left join NAME2012  C on S.STOCKNAME = C.STOCKNAME2012
    left join NAME2011 B on s.STOCKNAME = B.STOCKNAME2011
    left join NAME2010 A on s.STOCKNAME = A.STOCKNAME2010
    go
    Drop table NAME2010
    Drop table NAME2011
    Drop table NAME2012
    Drop table stockMaster 
    Mark as Ans if you find it useful
    Shridhar J Joshi Thanks a lot

  • HT1267 my iphone restored automatically, and now i have lost everything, including apps, contacts, texts etc...i cannot retrieve apps from my itunes as my new itunes did not have all the apps, due to rebooting my comp..can someone help on how i can retrei

    My  phone  automatically restored, and now i have lost everythig apps,contacts,texts..i mean everything.... and my itunes does not have anything as my computer had to be reboot,due to a new hard disk...
    Can someone help,i really need my contacts  back asap....

    well i put my phone on charge, when the connect to itunes icon appeared.therefore, resulting in restorage of the phone.
    The prompt to connect to iTunes is automatic, but not the restore process. You must manually select restore. There is no automatic restore.
    in order to re-download apps, i will need to re-purchase...and i cannot afford the amount,
    Read the link I provided. Had you done so, you would know you do not have to re-purchase apps when re-downloaded.
    but to be honest, i am concerned about my contacts. which have completely disapeared and i just want them back.
    Unless your contacts were synced with a supported address book app on your computer as designed and intended and your contacts were included with your computer's backup, or unless your contacts are available online with a free Apple iCloud account, with a free Yahoo account, or with a free Gmail account with all providing the ability to sync contacts over the air, your contacts are gone.

  • I bought adobe photoshop and adobe premiere a few years ago and love it; however, i recently got a new labtop which has no disk drive. How can i redownload my programs on my new product? I have all the original informaiton and serial numbers.

    please help

    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand, such as your platform (Mac or Win), exact versions of your OS, of Photoshop and of Bridge, machine specs, such as total installed RAM, scratch file HDs, video card specs, what troubleshooting steps you have taken so far, what error message(s) you receive, if having issues opening raw files also the exact camera make and model that generated them, etc., someone may be able to help you.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • How to importing AVCHD if I don't have all the folder files?

    Hi,
    I have to cut a few videos. I have been given an external drive with .MTS files. However, all the files regarding the structure of the folder... are not there!!!!!
    Now, when I import them to Adobe, they are glitchy and out of sync.
    - Do I have to convert them?
    - If so, to what codec/format?
    - With what program?
    Thanks a lot for your help.
    Kind Regards.
    Robert

    Hi,
    Thanks for the reply. Unfortunately, when I import the plain MTS, the audio is out of synch. However, it plays nicely on the Windows Player.
    I have also copied to an internal drive, without success.
    I have also used the recommended codecs in the guide you mention: DNxHD... nothing seems to work.
    I am using: Premiere Pro CC 2014, on an intel Core i7 with 8Gb RAM lenovo.
    Any other ides?
    Thanks.

Maybe you are looking for

  • Windows recognizes ipod but updater or itunes not

    hey folks i need help pretty bad. i do have 30GB ipod photo. when i plug it in to power suplly it's not getting charged,windows recognaizes it as a removable harddisk but when i open i-tunes it doesn't recognizing at all neither ipod updater. when op

  • How do I uncheck a radio button

    I have a set of three radio buttons: Field type: exclusion group Value type: User entered optional, Default: none When one accidentally checks one of these buttons, it cannot be unchecked - or at least so it seems. The question is: Does anyone know o

  • How to assign single filed update to a responsibility in Oracle Apps 11i

    Dear All I created a responsibility (userabc) and just assign supplier screen to userabc. what i want i just wanna give him/her permisson to update only one field of the supplier screen e.g. Hold or Unhold payment. How i can achieve this, please guid

  • ExecDialog  not working

    Hi, I have used execDialog method in Adobe Javascript. It is working fine for Adobe Acrobat X Pro and Adobe Professional 7. But it is not working with Adobe reader 9. Any advise what is missing? Thanks

  • Cannot see my printer after install wrong firmware

    i have a problem my printer (laserjet cp1525n color) give me a message firmware corrupted ready 2 download i tried to install the firmware but the printer stuck on erasing proccess and i noticed that the printer represent as laserjet 3020 on device a