What is the difference between granting privilege directly and via role

When we want create a view in user1 schema , that user must be granted by select privilege on table user2.t2 , but not via a role , what is the difference?
Is there any other privileges that must be directly granted?

please look into the scenario ,
I have a schema with a table in it. I have granted select on that table to a role.
grant select on user1.example_table to example_role;
I then grant that role to a user:
grant example_role to user2;
Then user2 wants to create a view on top of that table:
create or replace view user2.example_view as
select *
from user1.example_table;
That throws an error however:
ORA-01031: insufficient privileges
Why though? If they have select permission via the role, why can they not then create a view on that object?
I found that I had to grant the object directly to the user before it would work.
grant select on user1.example_table to user2;
why this is so,
Thanks,
uday
Edited by: udayjampani on May 16, 2012 4:42 PM

Similar Messages

  • What is the difference between quicktime 7 pro and quicktime x

    What is the difference between quicktime 7 pro and quicktime x

    QuickTime Pro 7 is a very useful video tool.  You can make simple edits to video files, cut-n-paste multiple video files together into one, save the video or transcode it into a variety of common video formats, use it to analyze a video to see which codec it's in, and even play videos in professional settings.
    QuickTime X is completely useless.
    With QT X and Final Cut X, Apple has completely abandoned the professional video market.  Both of these software packages are dumbed down for Windows users, and are intentionally designed to anger and alienate the professional user that has come to rely on Apple software for their video needs over the last 20 years.  Final Cut X is really just iMoviePro. If I wanted iMovie, I'd use iMovie, but I need a professional video app, not a kiddie video app.  Therefore I can not use FCPX.
    I have work to do, under strict deadlines and budget limits.  FCPX and QTX actively prevent me from getting any work done at all.  Apple has left me no choice.  I have to go back to Adobe Premiere or Avid Media Composer since these are still professional applications.  Final Cut and QuickTime have been turned into kiddie-style iMovie-like apps that have no functionality whatsoever.
    Apple is heading in a very disappointing direction.  They have a history of cutting off legacy items without notice.  They have decided that optical media is over and everything is online.  But my clients don't have that luxury.  I still have to deliver products on DVD and increasingly Blu-Ray.  Apple's obstinate refusal to support Blu-Ray has cost me clients, and I've had to resort to third-party software and hardware.
    Apple has abandoned the professional video market.

  • What is the difference between qued delta  update and serialized delta upda

    what is the difference between qued delta  update and serialized delta update?

    Hi Ks Reddy,
    Queued Delta:
    In case of Queued delta LUW's are posted to Extractor Queue (LBWQ), by scheduling the V3 job we move the documents from Extractor queue to Delta Queue(i.e. RSA7) and we extract the LUW's from Delta Queue to BW side by running Delta Loads. Generally we prefer Queued Delta as it maintain the Extractor Log which us to handle the LUW's which are missed.
    Direct Delta:
    In case of Direct Delta LUW's are directly posted to Delta Queue(i.e. RSA7) and we extract the LUW's from Delta Queue to BW side by running Delta Loads. If we use Direct Delta it degrades the OLTP system performance because when LUW's are directly posted to Delta Queue (RSA7) the application is kept waiting untill all the enhancement code is executed.
    Non-serialized V3 Update:With this update mode, the extraction data for the application considered is written as before into the update tables with the help of a V3 update module. They are kept there as long as the data is selected through an updating collective run and are processed. However, in contrast to the current default settings (serialized V3 update), the data in the updating collective run are thereby read without regard to sequence from the update tables and are transferred to the BW delta queue.
    https://websmp102.sap-ag.de/~sapdownload/011000358700007535452002E/HOWTOCREATEGENERICDELTA.PDF (need id)
    http://help.sap.com/saphelp_bw33/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/frameset.htm
    Business Intelligence Performance Tuning [original link is broken]
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cccad390-0201-0010-5093-fd9ec8157802
    How to load data
    /people/sap.user72/blog/2004/12/16/logistic-cockpit-delta-mechanism--episode-one-v3-update-the-145serializer146
    /people/sap.user72/blog/2004/12/23/logistic-cockpit-delta-mechanism--episode-two-v3-update-when-some-problems-can-occur
    /people/sap.user72/blog/2005/01/19/logistic-cockpit-delta-mechanism--episode-three-the-new-update-methods
    Delta Types and methods;�
    Hope this helps.
    ****Assign Points if Helpful*****
    Regards,
    Ravikanth

  • What is the difference between owb repository owner and repository user?

    what is the difference between owb repository owner and repository user?

    Hi,
    the repository owner has full rights to do every thing in the repository. There is only one repository owner.
    There may be multiple repository user for one of the following two purposes:
    1. When working in a team, each team member can be added as a different repository user and can have different grants assigned. That way you can also see who has deployed what objects or who has run a mapping.
    2. To be able to deploy into a database schema, that db user user has to be added as repository user as well. Make sure the "user is target schema" checkbox is checked.
    Regards,
    Carsten.

  • What is the difference between string != null and null !=string ?

    Hi,
    what is the difference between string != null and null != string ?
    which is the best option ?
    Thanks
    user8729783

    Like you've presented it, nothing.  There is no difference and neither is the "better option".

  • What is the difference between Wine, Wineskin, Winery and Wine Bottler, and how do I get Wine to *ACTUALLY* work in Mountain Lion?

    Ok, so this is my first post here and I am admittedly terrible at forums. Someone might say, "This was addressed in the ___________ thread by __________! Go read it!" --- that may be so but I've spent enough hours trying to google this problem into submission to no avail based on what is apparently working for others, so I would like a chance to get specific answers to specific questions that aren't from Mar 2011, etc.
    So first of all, I'm confused by all the various Wine programs/apps/whatevers. I've seen Wine, Wineskin, Winery, Wine Bottler, and at this point I wouldn't be surprised if there are even more than that. What's the difference between all of these and how do they work with one another? What do I actually need to get windows programs working?
    All of my google searches have led me to people giving out fish, but no one giving out fishing lessons. I'm not a pro at mac and windows and all that, but I'm a fairly bright individual who gets VERY frustrated, very quickly, when I don't understand the why and how of something I'm attempting.
    I've also found "answers" where the person attempting to help starts off helpful enough, but degrades into the most archaic of techno-babble after about 5-6 sentences. On the other hand, I've watched tutorials on youtube where the poster decides to skip (apparently crucial) sections of the tutorial, and mutters such gems as: "... you might wanna have to run Wine first before you can do anything, cuz I think it has to configure it and set up a bunch of stuff" 
    O.o
    A happy medium between techno-babble and the most basic of explanations would be ideal for me, and I'd imagine for others as well.
    Here is a summarized history of my relationship with Wine:
    Diablo II - I downloaded this awesome thing which ended up being... uh... I guess Diablo II in a Wineskin "wrapper". I'm not sure, all I know is that it's a D2 icon, and if I go to 'show package contents', it's got C drive, Program Files, et cetera inside of it. I double click it, it launches D2, and it works like a dream. <3
    'Vanilla Install' - That's what I heard someone call it. It was the command/terminal style install using xquartz and xcode found at http://www.davidbaumgold.com/tutorials/wine-mac/. I followed every instruction to the letter, and got all the way to '$ sudo port install wine', at which point it started going smoothly, free from the possible error he described regarding the installation of xcode, and then just failed after I left the room to use the restroom and came back. Please don't ask me to repeat what the error was, because honestly, after reading more things on the interwebs, I'm confused as to why it's even necessary to go through all of that, so I'd rather not try that route again anyways, rendering the error message quite possibly irrelevant.
    Wine + Wine Bottler - So I decided to try to seek out an easier method, as I know that one must exist that doesn't involve command lines. I found a video tutorial at http://www.youtube.com/watch?v=m0BBkISOcEA, and oh man would it be great if that method had actually worked. Again, I followed all instructions provided to procure my free fish, and at the point in the video where he declares that "xquarts or x11 will open" - it doesn't open. Nothing opens. I was trying to install Star Sonata, btw.
    So here I am, thoroughly worn out, frustrated at all the random places Wine is installed on my mac now, and just want someone to explain it all, from top down, without getting toooooooo technical on me. I know that might be asking a lot...

    ## I know that the poster has already found a solution, but the following is a possible answer for others that have similar issues.
    For Winebottler, just go to their website and download it. Run the program. Choose .wine as your prefix (best choice) or whatever suits you best. You'll need a functional X11. If you can't use the one that comes with your mac, download the latest one from the website.
    If your issue is one with Winebottler's Wine not running correctly due to X11, then you have a pretty ugly problem, although a simple upgrade is the best solution (Upgrade XQuartz.app).
    http://www.davidbaumgold.com/tutorials/wine-mac/#part-1
    The above website is the easiest way to get REAL wine on your computer. First of all, Wineskin WInery, etc. are NOT WINE. They are 3rd party apps that may use Wine or may have originally part of Wine, but they are no longer up to date with Wine. WineBottler is currently up to date with the stable releases of Wine (but not the maintenence releases).
    For the website tutorial and to run Wine on your mac without using a thrid party app, you will need to know a few things.
    First, you will need to know basic control of the command line. That means, sudo (you must know the administrator password to your computer), and the forms of cd (change directory).
    Second, you will need Xcode. Download 4.2 (stable) or whatever other versions you want, but beware: It is over 1 GB, and you will need time for it to work.
    Third, you will need to get MacPorts and configure it. The tutorial should have this data.
    When you download wine (use sudo port install wine-devel for the latest development release of wine), it will first download a lot of dependencies. This will take a while. After that, it will download wine itself.
    After obtaining wine, to run a program, open the terminal.app window.
    cd desktop/XYZ/ZYZ\ WRQ
    The above will first enter the desktop, then folder XYZ, then folder ZYZ WRQ. From here,
    wine th11e.exe
    Or whatever executable you are trying to open. (Using Subterranean Animism as my example).
    It should, in theory, run the program. Watch the terminal for errors. If there is an X11 problem, then it's not wine acting up. If the app crashes or has other issues, check the Wine Application Database to see if your app is compatible with wine.
    If you have any further questions or other things, feel free to reply; I may or may not get back to you, but there's a good chance that someone will come in eventually. Otherwise, the Wine Wiki should have some information.

  • What is the difference between a mac-book, and an I-pad?

    What is the difference  between a mac-book and an I-pad?

    The Macbook is a computer (running Mac OS X), an iPad is a tablet (running iOS). What are thinking of using it for ? The Mac is more powerful than iPad, so if you need processing power then that will be better suited for your needs. If you will mainly be using it for media (films, music), internet browsing, emails, ebooks, then an iPad would be sufficient.
    Macbook Air : http://www.apple.com/macbook-air/
    MacBook Pro : http://www.apple.com/macbook-pro/
    iPad Air : http://www.apple.com/ipad-air/

  • What is the difference between Safari 6.0 and 6.0.2?

    What is the difference between Safari 6.0 and 6.0.2?

    here is a copy of the text from Software Update
    Safari 6.0.2 is recommended for all users running OS X Lion v10.7.5
    and includes security updates.
    For more information, please visit: http://support.apple.com/kb/HT1222

  • What is the difference between Component,Server,Tool and Software?

    HI,
    What is the difference between Component,Server,Tool and Software?
    SHABEER

    Hi
    Every individual part that constitutes in making an SAP System is called a COMPONENT.e.g DB instance, Java CI, ABAP CI etc
    SERVER is the actual composition of different components of SAP.e.g. a database alongwith can instance would constitue an application server.
    TOOLS are the products from different organisations (SAP or Non SAP) that can be used for different functionalities like keeping a check on jobs, monitoring of the system , e.g Tivoli
    SOFTWARES are a kind of tool that help you to bring up results from the system in a user acceptable format. These are utilities that act as interfaces between the user and the system.
    regards
    Chen

  • What is the difference between Windows Workflow Activities And SharePoint Workflow Activities in Workflows?

    Hi All,
    What is the difference between Windows Workflow Activities And SharePoint Workflow Activities in Workflows?
    Thanks in Advance!

    Hi,
    Both are developed with .NET framework, per my knowledge, the biggest difference would be the environment they applied to: one for Windows platform, one for SharePoint platform:
    http://msdn.microsoft.com/en-us/library/vstudio/ms733615(v=vs.90).aspx
    http://msdn.microsoft.com/en-us/library/office/ms446847(v=office.14).aspx
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • What is the difference between Condition Type PB00 and PBXX

    Hallow all,
    Can anybody please explain, What is the Difference between Condition type PB00 and PBXX in Materials Management Pricing?
    And also please explain control or Application of both on Price determination ??
    Thanks in Advance !!!!!

    Hi,
    PB00 condition type is used for automatic pricing in PO
    PBXX condition type is used for manual pricing in PO
    In Pricing  access sequence  play a vital role . If you need pricing automatic in the PO, you have use of Access Sequences and Schema Group of Vendor.You can see the difference in both standard condition type PB00 and PBXX, where as PB00 is assigned to Access sequence(0002)but in case of PBXX no access sequense assigned.
    Regards,
    Biju K

  • *what is the difference between web flow engine and sap business workflow?*

    Hi,
    Can any please guide me by telling what is the difference between web flow engine and sap business workflow?

    >
    Arghadip Kar wrote:
    > Check this link
    >
    > http://www.workflowing.com/id35.htm#1__what_is_the_difference_between
    ... which is exactly where the FAQ item came from!

  • What is the difference between E-Business suite and people soft enterprise

    hi every one
    I want know what is the difference between E-Business suite and people soft enterprise

    These are two different ERP systems - the former developed by Oracle and the latter by Peoplesoft (before it was acquired by Oracle).
    http://www.oracle.com/us/products/applications/ebusiness/018714.htm
    http://www.oracle.com/us/products/applications/peoplesoft-enterprise/018725.htm
    HTH
    Srini

  • What is the difference between Ps CC 2014 and Ps CC?

    What is the difference between Ps CC 2014 and Ps CC? Ps CC seems to work well, with OnOne Suite 9, but Ps CC 2014 won't load OnOne Suite 9, because it says it isn't properly signed. Any help with these issues? Thanks.

    Get a suitable version from OnOne and install it.
    Mylenium

  • Whats's the difference between MacBook Pro 13 and 13.3 ?

    This, Whats's the difference between MacBook Pro 13 and 13.3 ?

    Firstly, you are not in MacBook Pro forum, so you need to get your bearings.
    2nd check the specs page
    http://www.apple.com/support/macbookpro
    Then Bing/Google for reviews, Ars is always good but dozens have done one.
    2011 brings Intel Sandy Bridge processor boards, Thunderbolt, SATA3 (6G) along with options for SSD and much more RAM (can save buying RAM and doing the upgrade yourself)

Maybe you are looking for