Objects of scheme of access without having to specify the user.

I just created a role in a scheme and assigned to certain privileges. Then, I created a user and granted the role to him. But as the newly created user is not the owner of the schema when I say a query select simle like this:

SELECT EMLOYEENAME FROM EMPLOYEES

I get the error "table or view does not exist. Is there a way I can wirte to refer to objects in this schema without having to identify the owner. For example, instead of writing to SCOTUS. I want to write just the EMPLOYEES EMPLOYEES.

>
So, I create SYNONYMS for all objects in the right of the schema? And also, I have to use these synonyms in all procedures, functions and views rather than their real names?
>
Yes, if the procedures are not owned by the user who owns objects.
A procedure created by SCOTT didn't need to use the synonym to access the objects belonging to SCOTT.

Then, if you issue

GRANT EXECUTE ON scottProcedure1 TO DAVID

Then the user DAVID can perform the Procedure1 scott without the need to have privileges on scott objects used by the procedure.

   EXEC SCOTT.PROCEDURE1;

DAVID must use the schema to perform the procedure, unless you create a synonym for the procedure.

Tags: Database

Similar Questions

  • Discoverer URL - hide password without having to use the public connection

    Hello

    I would call Discoverer Viewer without having to expose the schema password and without having to use public connections. Is this possible? Disco Viewer is called directly from my application, with authentication and custom permission. I don't want to expose the reports to the public by creating public connections.

    TIA.

    Tamas

    Hello

    If you use a HTTP Post in your application to pass the URL of the Viewer to the discoverer server, then you can provide the password as a hidden input which is not visible to users.

    Rod West

  • The print is so small. How can define you default largest size print without having to click the icon on each page?

    The print is so small. How can define you default largest size print without having to click the icon on each page?

    The Firefox Page Zoom feature makes a domain level by area to save favorite settings level users zoom, there is no default Page Zoom level setting in Firefox, as with some other browsers.

    Try the extension Default FullZoom Level:

    https://addons.Mozilla.org/en-us/Firefox/addon/6965

    Or the NoSquint extension:

    https://addons.Mozilla.org/en-us/Firefox/addon/2592/

  • How I bounce back without having to change the setting of 'Protection against overload only' amateur off EACH time?

    How I bounce back without having to change the setting of 'Protection against overload only' amateur off EACH time?

    This setting should be preserved, once you set it... so I'm not sure why you have to define every time...

    Then... Make sure that you put on ALL the tools of the art of logic in the preferences of LPX...

    Otherwise... you may need to reset the prefs of LPX... Put all the Tools Advanced again and the other preferences you have set... and see if that fixes things for you...

    You can resolve many issues by restoring Logic Pro X back to its original settings. This will not affect your media files. To reset your settings preferences of the user to Logic Pro X to their original state, do the following:

    1. Logic Pro X to quit smoking
    2. In the Finder, select go to folder menu reach.
    3. Type ~/Library/Preferences in the field 'go to folder '.
    4. Press the Go button.
    5. Delete the com.apple.logic10.plist file from the Preferences folder. Note that if you set custom shortcuts, it will reset to the default values. You can export your custom key as a preset before performing this step. See the Logic Pro X user manual for details on how to do this.
    6. If you are having problems with a control surface in Logic Pro X, you can also delete the com.apple.logic.pro.cs file in the Preferences folder.
    7. Restart the computer.

    Note: If you cannot find the files listed above, you don't follow the instructions properly!

  • How can I configure a new TimeCapsule for an existing network without having to activate the internal networks?

    I tried to go in advance and choose "Add TimeCapsule to the existing network", but it keeps defaulting to 'add a new network '.

    without having to activate the internal networks?

    "Add TimeCapsule to the existing network.

    You cannot add a TC in an existing network, if there is.

    You must configure the TC for the network.

    It keeps default back to "add a new network.

    So, it's OK... The TC is part of an existing network or makes a new.

    You must connect to the TC network... either wireless or ethernet.

    However, you can manually configure the TC simply plug ethernet for example.

    See, cable using Time Capsule for Mac for backup only.

    The same can be done for the wireless... but a TC is really the bad device for backups if you don't have a network... It's cheaper, faster and more reliable by using a USB key.

  • I already bought the movie HD, 'V for Vendetta', before it came with "iTunes Extras" but my purchased copy does not come with the Extras. Is there a way to fix this without having to buy the movie again?

    I already bought the movie HD, 'V for Vendetta', before it came with "iTunes Extras" but my purchased copy does not come with the Extras. Is there a way to fix this without having to buy the movie again?

    I was told that movies in the iTunes Store can be changed to include "iTunes Extras" if originally it did not come with extras. But there is a catch you get just the extras if you buy just the issue for the first time. If you have already purchased it, your version may not have the extras. This means that if you want the extras, buy the movie again.

    If you now get the Extras will depend on what the movie studio did for example if they have updated the version you have purchased, or replaced by a new version (which will be treated as a separate purchase): buy and play movies with iTunes Extras - Apple Support

  • I have Windows 7 and the 2007 Microsoft Office Suite Service Pack 1 (SP1) update always fails. Also Microsoft Office Outlook often does not open without having to restart the pc. ___

    I have Windows 7 and the 2007 Microsoft Office Suite Service Pack 1 (SP1) update always fails.  Also Microsoft Office Outlook often does not open without having to restart the pc.

    Hi hound3101,

    Welcome to the Microsoft Answers community.

    a. you are able to install some other updates?
    b. do you receive error messages when you start Microsoft Office Outlook?

    If you have a problem only in the Office Update installation, then I suggest you to report your problem in the Office Discussion groups. If not, try download office update from the link below and install it in clean boot mode.

    Link to the Group Discussion Board: http://www.microsoft.com/office/community/en-us/FlyoutOverview.mspx

    To enter the mode of clean boot of your computer, follow these steps.
    1. click on start, type msconfig in the search box and press ENTER.
     
    If you are prompted for an administrator password or a confirmation, type the password, or click on continue.
     
    2. in the general tab, click Selective startup.
    3. under Selective startup, clear the check box load startup items.
    4. click on the Services tab, select the hide all Microsoft Services check box, and then click Disable all.
    5. click on OK.
    6. When you are prompted, click on restart.
    7. after starting the computer, install the update.

    Hope this information is useful.
    Let me know if it worked.

    Thank you, and in what concerns:
    Umesh P - Microsoft Support
    Visit our http://social.answers.microsoft.com/Forums/en-US/answersfeedback/threads/ Microsoft answers feedback Forum and let us know what you think.

  • How to load DLLs passwordFilter customized without having to restart the server system.

    Hi all

    I created the CustomPasswordFilter.

    I'm CustomPasswordFilter.dll the System32 folder copy and do a registry entry to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa" update the value "Notification Packages".

    I want to CustomPasswordFilter.dll to work without having to restart the server system.

    Is it possible?

    Concerning

    Ashish

    Hi Ashish,

    You can ask your question in this link for better assitance:

    http://social.msdn.Microsoft.com/forums/en-us/category/windowsdesktopdev

    Also refer to:

    http://msdn.Microsoft.com/en-us/library/Windows/desktop/ms721766 (v = vs. 85) .aspx

    It will be useful.

  • How can I join an existing email, I have forwarded to my address to another email address, I want to send him without having to open the attachments

    I am trying to send a copy of an email to another email address. As I had deleted the email I forwarded your new to my e-mail and now I want to sent to another email address.  It has attachments with it and when I try to pass it on to the new address can not send it without having to open the attachments and I have to send it without doing it would be someone has any ideas please?

    You don't mention your e-mail program, but you probably have an option to forward as an attachment. Who will show new text until they open the attachment. Send it to yourself to test.
  • How to move a local network printer without having to reinstall the drivers

    Hello

    Is it possible to change a printer to a network printer on a local printer without having to reinstall the printer drivers?

    The computer on which the printer (a Lanier LP116c PCL 5 c) is currently connected [directly] is running Win XP.  It is a stand-alone computer without any connectivity; network, internet ect.   He has no printer drivers installed because the computer had been connected to another computer by using working groups and was able to print at the Lanier through working groups.  But now that there is no longer connected to the 'network', but rather directly connected to the printer, it will not be printed.

    I tried to change the properties of the driver to "tell the computer" that the printer is now connected directly however when I try to open the properties I: "printer properties cannot be displayed.  The print spooler service is not running.

    How to 'know the computer' that the printer is now connected directly without having to reinstall the dirivers?

    Thank you!

    Carrie

    You have two questions.  One is assigning the correct port for the printer and the other is fixing what is originally the print spooler service to not run.

    As much as I can give you guidelines on how solve the second problem, it will be much easier for you to uninstall and reinstall the printer (once the print spooler works again) that in order to create a "USB virtual port" which is what needs to be done unless the computer was once a printer connected by USB is installed.

    Often, but not always, an order print spooler is the result of a corrupt print job stuck in the queue or a damaged printer driver.  However before you clean things up, on general principles, that you can download, install, update and run full scans with each of these two free programs:

    AntiMailware MalwareBytes
    SUPERAntiSpyware

    Do not operate the two scans simultaneously.  Each will take a long time, so start it and then go do something else for a while.

    Cleaning of printers

    NOTE: If you have ever had (but retired) a Lexmark or Dell - badged Lexmark printer installed, the command "net start spooler" to step below may fail.  In this case, type the following line in the black command prompt window and then type the command "net start spooler" again:

    dependent on the spooler of sc config = RPCSS

    Note that there is no space before the =

    If still no joy, use the alternative method that is linked below.

    A. Clean on print jobs pending

    • Open a command prompt window (start > run > cmd > OK)
    • Type the following in the black command prompt window, and then press ENTER after each line

    net stop spooler
    del/q '% windir%\system32\spool\PRINTERS\*.* '.
    net start spooler
    output

    B. clean the old printer drivers and install the latest drivers by using the directions in One Article.

    Alternative to the method of his first Article: http://members.shaw.ca/bsanders/CleanPrinterDrivers.htm

    Once the print spooler has started, click Start > printers and faxes, right click on the Lanier printer icon and select properties and select the Ports tab.  If you already have a USB connected printer installed on this computer, there should be a port named USBnnn.  If there is, check the box and OK your way out and your printer should now print when connected by USB.  If there is no USB port listed, then do the reinstall as explained in an Article.  The driver install package available here should create and install the USB port for you: http://www.lanier.com/downloads/driverFrame.aspx?path=http://support.aficio.com/bb/html/dr_ut_e/lan_u/model/c30e/c30een.htm

  • To turn off the Recycle Bin so that the files that you delete from your hard disks have gone permanently without having to empty the trash, what should you do?

    To turn off the Recycle Bin so that the files that you delete from your hard disks have gone permanently without having to empty the trash, what should you do?

    Original title: help

    Hello

    Hold down the 'Shift' key when you delete and it bypasses the Recycle Bin.

    See you soon.

  • After worm 24, find bar can not migrate to new tab without having to replace the current one. If ctrl + f in a new tab I mast manually repeat searchrepeat

    After worm 24, find bar can not migrate to new tab without having to replace the current one. If ctrl + f in a new tab I mast manually repeat again to search, or ctrl + f.

    Try this extension: https://addons.mozilla.org/en-US/firefox/addon/findbar-tweak/ works with Firefox 45.0 and later versions

  • How can I get Windows 7 to read RAW hard drives without having to format the hard drive due to important work on this subject?

    Original title: the file format of external hard drive is the RAW and not NTFS. How can I get Windows 7 to read RAW hard drives without having to format the hard drive due to important work on this subject?

    I put the hard drive on an XP and Vista machine and can read the hard drive, but not with Windows 7

    Hi Zling,

    It works on other OS? When did you finally read the disc and with what OS? If you can read the drive and make a backup of the data on this subject, I you suggest to backup the data on the drive and then put it in using the NTFS file system.

    I hope this helps! Shawn - Support Engineer - MCP, MCDST
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • User (select) switch without having to type the password

    Hello

    I would like to be able to switch between 2 user accounts without having to type the password, but I don't want another user (or an unknown person, to get to the original session logon screen) to be able to connect to these accounts without password.  Is it possible to do this?

    Thank you!

    Sorry, your two requirements are contradictory.

  • Would I be able to communicate via USB without having to install the Desktop Manager?

    Here's my situation. My company has a software product for the office that communicates with a telephone connected via USB. Currently, it is a prerequisite to install the BlackBerry Desktop Manager to be able to use the ability to synchronize our software.

    What I am wanting to know is, somehow I was able to realize USB communication without having to install the Desktop Manager? Another question I have is, if it is possible to do this without having to install the Desktop Manager, would there be legal issues that should be considered in what concerns the packaging of the bbdevmgr as well as my package of office software?

    don't know, but I do not.

    It is the second hit on google for "blackberry usb driver.

    https://www.BlackBerry.com/downloads/entry.do?code=A8BAA56554F96369AB93E4F3BB068C22&CPID=OTC-SOFTWAR...

    great entry in this list.

Maybe you are looking for