How to access the PDB (s) with multiple shared users?

is it possible to access the PDB files with multiple shared users?

Consider the scenario:

I have two common user:-c# a PDB and c ##b:-PDBTEST

I am facing problem:

When I connect with the common user - c ##b, I am not able to see the table of PDBTEST created by connecting you with c# a.

However, I have assigned rights in PDBTEST for both users c# a and c ##b.

For the common c ##b user, is there another way, I can access PDBTEST?

I'm following measures:

Connect as sysdba

1 > created two user c# a and c ##b (container = ALL)

2 > common role granted with all privileges: c ##role (container = ALL)

3 > assigned c ##role both user: c# a and c ##b (container = ALL)

4 > created PDB: PDBTEST

Changed session and containing value = PDBTEST

5 > granted c ##role to two users: c# a and c ##b inside the PDBTEST

6 > connect with c# a (and not as sysdba)

Changed session and containing value = PDBTEST

7 > table created and inserted record: TestTable

8 > connection with c ##b (and not as sysdba)

Changed session and containing value = PDBTEST

I'm not able to access the record of "TestTable" after you connect with c ##b...

Even more, if I connect with c# a, I can access inserted records.

Help, please.

Hi Big Boss,

It has nothing to do with the PDB, it is just the works of oracle way - to query a table that belongs to another yo uhave to precede their schema name unless you do one of 2 things

(1) create a synonym (public or private) for their purpose

(2) use alter session set current_schema

So in your case you'd be (both logged in as ##b c)

(1) create synonym c# table_name #a.table_name;

(2) alter session set current_schema = c# a;

Now, if you say

Select * from table_name as c ##b it will work.

(1) is permanent

(2) must be adjusted each time you connected

I think you're confusing a pdb with a schema file.

See you soon,.

Rich

Tags: Database

Similar Questions

  • How to access the administrator account disabled on standard user account?

    I recently disbaled my account admin by this step

    Control Panel > administrative tools > computer management > local users and groups > users > admin account > properties > check an account is disabled

    Now, I want access to my admin account

    I tried to access it from the login screen by clicking CTRL + ALT + DELETE but his does not work and also tried to start a cmd as administrator of the standard user account, but his is not accessible. Now I can able to access standard user only, now please tell me how to access my admin account to standard user account that I created.

    What you were doing was equivalent to throw out your safe master key. Not a good idea. Here's how you can recover from this error:

    1. Set your BIOS so that it uses the DVD drive as its primary boot device.
    2. Start the computer with your Windows 7 repair CD.
    3. Press a key when prompted to boot from the DVD.
    4. Select 'PC Repair' in the menu.
    5. Select 'Repair' when prompted.
    6. When you are prompted, select System Restore.
    7. Configure Windows to a point before you disabled the admin account.
    8. Instead of disable your own and only the account admin, you now need to create, test, and document an alternative admin account, same as you have a spare emergency House key. This will save you a lot of trouble.
  • How to create the data store with multiple LUNS

    Someone could please tell me that how can I have multiple LUNS in a single data store, is it possible?

    See the "Storage management" section in the document provided in the previous comment. You are probably looking for information on page 104.

  • How to access the inside movieclip with AS3

    Hello

    I have a problem to access inside the movieclip I mean child MovieClip

    the code is here

    var myMovie:MovieClip = new MovieClip();

    addChild (myMovie);

    var myChild:Sprite = new Sprite();

    myMovie.addChild (myChild);

    var nextChild:Sprite = new Sprite();

    myChild.addChild (nextChild);

    now I want to acess the next child and I use following

    (myMovie.myChild.nextChild) .addEventListener (MouseEvent.Click, onChildClick);

    function onChildClick(evt:MouseEvent):void

    {

    trace ("last child is clicked");

    }

    Thank you

    When you create dynamic content, using the notation by point does not work and you must use... getChild methods if you want to access it through the parents.  However, you should not need to do since you already have a direct reference to the object...

    nextChild.addEventListener (MouseEvent.CLICK, onChildClick);

    function onChildClick(evt:MouseEvent):void

    {

    trace ("last child is clicked");

    }

    You probably might have realized this when you implement this line (assuming it worked)...

    myChild.addChild (nextChild);

    With the approach of targeting parent, wouldn't you have tried to use... myMovie.myChild.addChild (nextChild);?

    and 'Click' should be 'CLICK '.

  • How to access the pci 9054 with labview

    Using pci9054 for communication, how can IAM I configure pci 9054 with labview.

    Thanks for your reply,

    I have 6 months experience in programming.

  • How to mount the afp share with two different users

    I use Terminal to mount three actions of my SIN.  I want to mount a mount point in my user folder.  One of the actions has a user name and password, so that the other two mount as a guest.  I can ride through Finder > to connect to the server without any problem, but this goes to /Volumes and not in my user folder and also indicates the actions on my desk.  I use to get the following:

    mount_afp o nobrowse 'afp://username:password@Servername/Share1' ~/Mount point/folder 1 /.

    This example goes up the part properly, but when I run the following command:

    mount_afp o nobrowse 'afp://Servername/Share2/' ~/Mount point/folder 2 /.

    I have the following error:

    mount_afp: AFPMountURL returned error-5023, errno is-5023

    This happens if I invert the controls as well, for example to get the comments share first, then the part of the user.

    Am I missing something?  I can't get different actions for different credentials?

    OS X has no Linux - bind option that allows multiple points of Assembly of nickname for the same file system.

    OS X allows a file system mounted only once.

    I suggest you get the file normally, system create an OS X Alias, can put copies of this Alias in the account of each use.

    And/or create symbolic links that point to the real mount point.

  • How to reset the Vista business with BitLocker active user password

    I'm running Windows Vista business and you forgot my password. I am the user only administrator on the machine. I also enabled Bitlocker. I have the BitLocker password. How can I reset my account password.

    Thank you

    Hello

    I'm sorry, but the strategy of microsoft in these forums is that without assistance will be given about lost or forgotten passwords

    read the policy at the link below

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-security/keeping-passwords-secure-Microsoft-policy-on/a5839e41-b80e-48c9-9d46-414bc8a8d9d4

  • How to access the BIOS on a Pavilion Elite e9237c with mouse and keyboard wireless?

    I have a desktop computer Pavilion Elite e9237 with a wireless keyboard and mouse. I tried to access the BIOS by pressing F10 at startup with no luck, and I can't access any of the other menus for the start-up eiither. I don't have a PS/2 port on my computer, so I can't get a wired keyboard and mouse. Does anyone know how to access the BIOS with this configuration?

    I bought a USB keyboard and he answered in the same way... No bios access. I then studied why it did not work and discovered that it was the way in which he has been connected to the computer. I had initially plugged into a USB hub when he was not working and I moved it directly into a USB port and it works! I plugged my keyboard wireless directly into the USB port and it works too! Thanks for your help... I wouldn't have thought of it if it wasn't for to recommend you the USB keyboard.

  • How to access the tab 'Save all' when I close several jpeg files that have been adjusted with the "color adjust tool? He is currently making me close and save one at a time. Thanks for any help :)

    How to access the tab 'Save all' when I close several jpeg files that have been adjusted with the "color adjust tool? He is currently making me close and save one at a time.  I've just upgraded to El Capitan.  Thanks for any help :)

    I assume that you use the application overview.

    I can't find an answer to back up everything, but a workaround could be while the file menu options are visible, press the option key

    and the point of the window will become close, if you click on that dialogue will ask you if you want to restore the changes or save

    pressing Save will close the image with the changes and then move to the next image and so on.

  • Multiple column trees: how to access the data in columns? There is a bug?

    Hello

    I have a strange problem. I use tree column multi like this:

    In this case, I have the tree column and two other custom columns.

    Now, how to access the data in the SECOND column?

    We can write all the data in a row thanks the EditElementTree:AddElement:ChildText, because it is an array of strings.

    However, when I want to read the data, I use ActiveCelltring, meaning that a SINGLE string and not a string table oO (so I only have the value of the first column and never others.

    So, I can do what I want? Is this a bug?

    Thank you very much

    R0b1n

    OK, I have the solution.

    We play with the ActiveColumnNumber attribute, to read the values of different...

    I left the message, it may be useful for later someboby

    R0b1n

  • Hi how to access the tutorial - with the Eagle?

    HI - how to access the tutorial - with the Eagle?

    It's here: create a video | Adobe first Pro CC tutorials

    There is also a newer version here: How to edit videos with Premiere Pro | Adobe first Pro CC tutorials

  • How do I access the folder allowed with standard user?

    I have 2 accounts, one is standard, the other is the admin account.

    My PC has a permitted record that only allow admin to access.

    I always connect with the standard user and sometimes need to access these files from parmitted, but no authorization for the standard.

    So, every time I change the user access. It's too boring.

    I tried the command runas, but does not...

    Please give me some advice that can access the folder allowed with the standard user, if possible.

    Thank you

    I have 2 accounts, one is standard, the other is the admin account.

    My PC has a permitted file that allow only to admin for access to.

    Please give me some advice that can access the folder allowed with the standard user, if possible.

    You must change the permissions of this folder so that everyone has full access.

  • How to access the features of the APP from SessionBroker/UnitOfWork application?

    How to access the features of the APP from SessionBroker/UnitOfWork application (legacy TopLink APIs)?

    For example, how can I get similar APIs like em.createNativeQuery (managed object query return native) when you use the UnitOfWork API?

    Not JPA-coded on top of UnitOfWork or UnitOfWork on top of JPA?

    SessionBroker can an EntityManager is running?

    How can I execute JPQL via UnitOfWork?

    The answer would be no. We put only support flush multiples for the use of the APP.

    A more detailed inside the code look will show that we have actually created a RepeatabaleWriteUnitOfWork that offers extended support to match the requirements of the Joint Parliamentary Assembly. I have not tried using this subclass directly with our API native and the SessionBroker. I will review the developers to see what we believe, this is the best way forward for SessionBroker users looking to use JPA and our extended features associated with JPA.

    Doug

  • Re: Satellite Pro L450D - 12 X - how to access the recovery partition?

    Hello

    I've formatted Windows 7 with a Windows XP CD but did not setup. I wanted to know how to access the recovery partition to set it by default, everything exists on the laptop right now is Ubuntu, but I don't know, I saw an additional partition that must contain recovery files as laptop did not come with a recovery disk and unfortunately did not create a filter.

    How can I access the recovery partition on the laptop having in mind, I formatted the drive Windows 7 was installed on or should I activate or something like that?

    Any help much appreciated

    Hey,.

    On the second partition of your laptop (data partition), you will find a folder named HDDrecovery and it contains recovery files. The problem is that you can use the HARD drive only with the pre-installed operating system recovery feature. It would mean in your case it s too late now and it s not in use anymore.

    You have created the Toshiba recovery disc as mentioned in the user manual? If Yes, you can use this disk to restore to factory settings. Just boot from this CD and follow the instructions on the screen.

    If you don t have the recovery disc, you can order it here:
    https://backupmedia.Toshiba.EU/landing.aspx

  • HP pavilion h8-1230: how to access the bios pls help

    How to access the bios and I got windows 7 but to give birth to windos 10 with the thing free upgrade I got Pls Help

    Immediately after pressing the power button to turn on to start by pressing the F10 key.

Maybe you are looking for

  • How to export Firefox bookmarks partially?

    Current bookmarks manager Firefox to only export entire collections of bookmark in an html file. I would like to know how I export partially some of them, not all, in an html file it please?

  • XP HOME Media Player Internet Radio Playlist

    I have daily access my Media Player to listen to the Internet Radio Stations we and am tiring to locate now playing artist name/title information. I can't see/find a tab to activate this option. I contacted the radio station which displays the ICON o

  • Windows XP Pro SP3, very, VERY, SLOW to the hibernation

    Reference Dell Lattitude D620, Windows XP Professional, recently upgraded from SP2 to SP3 & IE6 to IE8. 2 GB of RAM. Before the upgrade, "Fn + F1" = hibernation; the process took 12-13 seconds to complete. After upgrade, I rebooted Ad-Aware, Spybot S

  • Envy 17 6850 GPUs 'sudden death '.

    Hello I'm 17, product number: LF119EA #ABB with windows7 My Gpu is a 6850 m and an Intel processor. This morning, when I was browsing the internet, I got a blue screen and then a black screen after logo "starting windows." I managed to go in safe mod

  • updates KB3045999 and kb3046269 keep installed successfully

    Windows 7 Home premium sp 1, 64-bit version. After last Tuesday (14/03/2015), updates KB3045999 and KB3046269 keeps the installation successfully, but every day I ask myself to install again. Several others on the same day impossible installation - K