Access to ALL_COL_PRIVS and ALL_TAB_PRIVS

We're looking into switching from TOAD to SQL Developer, and one of the missing pieces in SQL Developer for us is the ability to see the GRANTS for objects. It looks like the following SQL is responsible for gathering that information, which is currently coming up blank (I can see the data, but then I have DBA granted to me):
SELECT   PRIVILEGE,
         GRANTEE,
         GRANTABLE,
         GRANTOR,
         COLUMN_NAME object_name
  FROM   all_col_privs
WHERE   table_schema = :OBJECT_OWNER AND TABLE_NAME = :OBJECT_NAME
UNION ALL
SELECT   PRIVILEGE,
         GRANTEE,
         GRANTABLE,
         GRANTOR,
         table_NAME object_name
  FROM   all_tab_privs
WHERE   table_schema = :OBJECT_OWNER AND TABLE_NAME = :OBJECT_NAMEIn TOAD, this information is gathered via DBA views, and I've granted the SELECT_CATALOG_ROLE to the Systems Analysts that need to see this information. In fact, the following SQL will bring back the information we're after:
SELECT   PRIVILEGE,
         GRANTEE,
         GRANTABLE,
         GRANTOR,
         COLUMN_NAME object_name
  FROM   dba_col_privs
WHERE   owner = :OBJECT_OWNER AND TABLE_NAME = :OBJECT_NAME
UNION ALL
SELECT   PRIVILEGE,
         GRANTEE,
         GRANTABLE,
         GRANTOR,
         table_NAME object_name
  FROM   dba_tab_privs
WHERE   owner = :OBJECT_OWNER AND TABLE_NAME = :OBJECT_NAMEIs there a privilege which allows these people to see the same information from the all_col_privs/all_tab_privs views, which they're currently seeing via the dba_col_privs/dba_col_privs views?
Thanks,
--=Chuck

I get that. I always ask my question slightly wrong the first time through, so I'll give it a second go ...
TOAD uses DBA_ views to gather this information, and the privileges I've given our Systems Analysts allow them to see object grants. However, if these same people use SQL Developer, which uses ALL_ views, no object grants display.
What privileges do I need to grant to them so that the ALL_ views start working like the DBA_ views:
SQL> SELECT   PRIVILEGE,
  2           GRANTEE,
  3           GRANTABLE,
  4           GRANTOR,
  5           COLUMN_NAME object_name
  6    FROM   all_col_privs
  7   WHERE   table_schema = 'R5UITL' AND TABLE_NAME = 'ACT5'
  8  UNION ALL
  9  SELECT   PRIVILEGE,
10           GRANTEE,
11           GRANTABLE,
12           GRANTOR,
13           table_NAME object_name
14    FROM   all_tab_privs
15   WHERE   table_schema = 'R5UITL' AND TABLE_NAME = 'ACT5';
no rows selected
SQL> SELECT   PRIVILEGE,
  2           GRANTEE,
  3           GRANTABLE,
  4           GRANTOR,
  5           COLUMN_NAME object_name
  6    FROM   dba_col_privs
  7   WHERE   owner = 'R5UITL' AND TABLE_NAME = 'ACT5'
  8  UNION ALL
  9  SELECT   PRIVILEGE,
10           GRANTEE,
11           GRANTABLE,
12           GRANTOR,
13           table_NAME object_name
14    FROM   dba_tab_privs
15   WHERE   owner = 'R5UITL' AND TABLE_NAME = 'ACT5';
PRIVILEGE  GRANTEE      GRANTABLE  GRANTOR  OBJECT_NAME
DELETE     R5UITL_ROLE  NO         R5UITL   ACT5
INSERT     R5UITL_ROLE  NO         R5UITL   ACT5
UPDATE     R5UITL_ROLE  NO         R5UITL   ACT5
SELECT     R5UITL_ROLE  NO         R5UITL   ACT5--=cf

Similar Messages

  • I'm note a firefox geek, but ever since my friend told me to install NoScript I can not access my msn and hotmail page. It tells me that Java Script is required, what ever that is. What do I do next. Do I uninstall the No Script. Thanks Ed

    I'm note a firefox geek, but ever since my friend told me to install NoScript I can not access my msn and hotmail page. It tells me that Java Script is required, what ever that is. What do I do next. Do I uninstall the No Script. Thanks Ed edit
    Details

    You are on Windows 2000, you do not have a "Firefox" button, and should consider yourself to be fortunate in that you still have menus and don't have to do anything to get the menus back instead of the "Firefox" button. (The same applies to Windows XP users).
    Use the "File" menu to get to Import. You are not on Windows 7 or Vista, and don't have to put up with the nonsense added for Aero.
    If you want the "Firefox" button you can get it with View -> toolbars -> (uncheck) Menu Bar. The menu bar and the "Firefox" button were supposed to be mutually exclusive (which is impossible in some cases without being incompatible).
    Once you are using the "Firefox" button ...
    Use the "Alt" key to view the menu bar (temporarily) containing File, Edit, View, History, Bookmarks, Tools, and Help. On Windows 7 and Vista, the menu bar was hidden by default in Firefox 4 and above. These menu items are more or less available under the "Firefox" button which has the most used of the built-in Firefox menu items available in a different format.
    To get back to having menus again. "Firefox" button -> Options (second column) -> (check) Menu Bar
    You can make '''Firefox 7.0.1''' look like Firefox 3.6.*, see numbered '''items 1-10''' in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 thru 8.0, look like 3.6)]. ''Whether or not you make changes, you should be aware of what has changed and what you have to do to use changed or missing features.''
    * http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface

  • Windows 7 computers asking for network password to access shared files and printers on Windows XP PRO computer.

    I have a network of 10 computers configured as peer-to-peer work group. I have upgraded one of the ten from Windows XP PRO to Windows 7 PRO. The other nine computers are all running XP PRO. AS near as I can tell they are all configured the same. I have the
    same user and same passwords on all computers. One of XP computers is used as a print server. The Windows 7 computer initially was able to access shared files and printers on all XP machines with out requesting a network password.
    Suddenly, the Win 7 computer began requesting a network password to access the shared files and printers on the XP print server. It will not accept any of the user names or passwords (all administrators on both machines with identical names and passwords.)
    The Win 7 computer has no problem accessing the shared files on the other XP machines. It can even access shared printers in a different work group. Apparently something has changed but I'm at my wits end trying to figure what changed on either the Windows
    7 machine or the print server XP machine.
    I would appreciate any help. Thank you

    Hi,
    Based on my research, I would like to suggest the following:
    1.   
    Disable simple file sharing on the Windows XP computer:
    How to disable simple file sharing and how to set
    permissions on a shared folder in Windows XP
    2.   
    On the Windows 7 computer, go to “Control Panel\All Control Panel Items\Network and Sharing Center\Advanced sharing settings” and ensure that the
    following items are turned ON:
    Network Discovery
    File and printer sharing
    And this one is OFF:
    Password protected sharing
    3.   
    Temporarily disable or remove all the security software (firewall, anti-virus, anti-spyware, etc.) on the computers and check if it works.
    In addition,
    I would like to share the following with you for your reference:
    Troubleshoot file and printer
    sharing
    Hope this helps. Thanks.
    Nicholas Li - MSFT

  • HT201304 It would be tremendously helpful to be able to access, set restrictions, and make changes from the parents device to all devices under the same iTunes account, so that I could make changes to my kids devices without physical access.

    Please help!
    It would be tremendously helpful to be able to access, set restrictions, and make changes from the parents device, to all devices under the same iTunes account, so that I could make changes to my kids devices without physical access.
    I understand that I can set up a different Apple ID for the kids devices, or take physical control of the device and make the changes myself. However, my teenage son is technically savvy enough to have a job in Silicon Valley, as are most young people these days. However, in order to access his devices the current way, I first have to bypass the four digit pass code. This starts a fight of why I need in the device and continues to escalate. The argument that I am the parent will gain access but the fight is simply exhausting, and quite frankly shouldn't have to happen at all. He is not yet an adult, he did not pay for his iPad or iPhone and I, as a parent, should have not only have the right to change options at will, and from anywhere, but look at history or current activity when I feel like it.
    I currently have the settings where app and in-app purchases require my password to be put in, and he must come to me to type it in, but I need more control and would like, and should be able to access any of our six devices and make individual changes simply by logging in to my account, with my password.
    If I can see all my devices on the "Lost My iPhone" app, this technology should be easy to make happen.
    C'mon parents! I have a pretty good kid, given all things that they can get into, but I am not stupid. For everything I see has been done, there is much more I haven't seen. I want my children to be kept safe and be able to know what they are looking at or listening to. We parents are the only ones who know our beliefs and what our kids can handle and when.
    Thanks for any support or information that I may be missing in order to fulfill my request.

    There are mobile device management solutions that can do this, including in Apple's OS X Server system, but most parents generally find that setting this up is more work than it's worth. If you're interested, though, there are a couple that at least purport to be free (I don't know if there are any hidden "gotchas"):
    http://www.unwireddevicelink.com/features/
    https://meraki.cisco.com/products/systems-manager
    and Apple's system:
    http://www.apple.com/osx/server/features/#profile-manager
    I don't think any, however, allow you to see current activity or browser history. iOS doesn't expose those to access from MDM solutions, to the best of my knowledge.
    Regards.

  • I have downloaded several books into ibooks.  Started reading one and closed it when I was done reading for the day.  Now I want to access other books and when I open ibooks it goes directly to that first book.  What can I do? Help please.

    I have downloaded several books into ibooks.  Started reading one and closed it when I was done reading for the day.  Now I want to access other books and when I open ibooks it goes directly to that first book.  It does not give me the shelf to choose what book I want to read - goes directly to the first book. What can I do? Help please.

    There should be a Library button on the top left. If not ap the middle of the screen to get it to appear.

  • I m using ms access as database and i want to create a login page in java

    hye frnz... plz help me m new to java
    m using ms access as database and try to create a login page where user type username and pw
    i had enter valid user entries in database i checked connectivity is working i want as user login the main window must open after checking username and pw field to database but
    now there is an error class not found exception sun:jdbc...... error
    plz help me i had stuck frm 4 days */
    import java.sql.DriverManager;
    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    class Login extends JFrame
    //Component Declarations
    JLabel jlb1,jlb2;
         JTextField jtf1;
         JPasswordField jpf1;
         JButton jb1,jb2;
         //Constructor
         Login()
         //frame settings
              setTitle("Login Dialog");
              setLayout(new GridBagLayout());
              GridBagConstraints gbc = new GridBagConstraints();
              setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
              Dimension d= Toolkit.getDefaultToolkit().getScreenSize();
              setBounds(d.width/2-175,d.height/2-100,350,200);
              gbc.insets=new Insets(7,7,7,7);
         //adding components
              jlb1=new JLabel("User ID");
              gbc.gridx=0;
              gbc.gridy=0;
              add(jlb1,gbc);
              jlb2=new JLabel("Password");
              gbc.gridx=0;
              gbc.gridy=1;
              add(jlb2,gbc);
              jtf1=new JTextField(10);
              gbc.gridx=1;
              gbc.gridy=0;
              add(jtf1,gbc);
              jpf1=new JPasswordField(10);
              gbc.gridx=1;
              gbc.gridy=1;
              add(jpf1,gbc);
              jb1=new JButton("Login");
              gbc.gridx=0;
              gbc.gridy=2;
              add(jb1,gbc);
              jb1.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                   Connection conn=null;
                        Statement stmt=null;
                        boolean found=false;
                   try
                             Class.forName("sun.jdbc.driver.JdbcOdbcDriver");
                             String dataSourceName = "Inventory";
                             String dbURL = "jdbc:odbc:" + dataSourceName;
                             conn=DriverManager.getConnection(dbURL, "","");
                             stmt=conn.createStatement();
                             ResultSet rst=stmt.executeQuery("Select * from User");
                             System.out.println(jtf1.getText()+"/t"+jpf1.getPassword());
                             while(rst.next())
                                  System.out.println( rst.getString(1) +"/t"+ rst.getString(2));
              if(jtf1.getText().equals(rst.getString(1).trim()) && new String(jpf1.getPassword()).equals(rst.getString(2).trim()))
                                       found=true;
                                       rst.close();
                                       dispose();
                                       MainWindow mw= new MainWindow();     /*created min window object created to be opend after login but not working*/     
                                       break;
                             rst.close();
                             stmt.close();
                             conn.close();                    
                        catch(ClassNotFoundException e){System.out.print(e);}
                        catch(Exception e){System.out.print(e);}
                        if(found==false) /*this portion is executing and dialog box appears invalid name and pw with class not found exception sun:jdbc.......on console */
                             JOptionPane.showMessageDialog(null,"Invalid username or password",
                                  "Error Message",JOptionPane.ERROR_MESSAGE);
              jb2=new JButton("Clear");
              gbc.gridx=1;
              gbc.gridy=2;
              add(jb2,gbc);
              jb2.addActionListener(new ActionListener()
                   public void actionPerformed(ActionEvent ae)
                        jtf1.setText("");
                        jpf1.setText("");
                        jtf1.requestFocus();
              setSize(350,200);
              setVisible(true);
              jtf1.requestFocus();
         public static void main(String args[])
    Login l=new Login();
    }

    http://forums.oracle.com/forums/ann.jspa?annID=599
    Oh, and by the way, your keyboard seems to be broken as your words are not getting spelled correctly.

  • I want to uninstall Acrobat reader. I got support in the community to access my HD and to send to trash the internet plugs in for PDF viewer, but when I try to download a PDF from internet a black screen appears and preview doesn't open

    I want to uninstall Acrobat reader. I got support in the community to access my HD and to send to trash the internet plugs in for PDF viewer, but when I try to download a PDF from internet a black screen appears and preview doesn't open

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • I recently upgraded to Yosemite 10.10.2 and Aperture 2.1.4 will no longer open.  I cannot access my photos and I don't want to pay for latest version of Aperture since this application is no longer going to be supported.  How can I get my pictures?

    I recently upgraded to Yosemite 10.10.2 and Aperture 2.1.4 will no longer open.  I cannot access my photos and I don't want to pay for latest version of Aperture since this application is no longer going to be supported.  How can I get my pictures?

    If you want just the originals, then you can go into the Aperture library (right click on it and do "show package contents"). Inside is a directory called "Masters" and you can find the original files in a bunch of subfolders.
    But... you'll lose all adjustments, keywords, and other information, and just have the files as they were imported originally from the cameras.
    Easiest is probably to buy Aperture and update everything, and then migrate to the Photos application down the road if that's what you want. Aperture 3.0 came out in 2010 (five years ago!) so it's not like you've upgraded in a while

  • Im not satasfied with 6.0 i miss youtube and some apps are slower, facebook wants premission to access my contacts, and how do i use apple tv feature with out mirroring?

    Im not satasfied with 6.0, i miss youtube, some apps are slower, facebook wants premission to access my contacts, and how do i use apple tv feature with out mirroring?

    That is awesome, works perfectly.
    I'll get it worked into my main script. Is this Action Manager code, and not just regular Javascript from the Scripting Dictionary? I can't tell the difference. I'll see whether or not it's actually faster than Applescript.
    Thanks. I know Scripting Listener records a bunch of stuff, but it's pretty amazing to me that playing back this line does the same thing that playing back the 1,011 lines Scripting Listener puts out.
    Thanks.

  • HT6114 My Mac Book Pro had a split drive with Windows Microsoft Access on it and it was removed when Mavericks installed.  I need this so how can I go back to the old system?

    My Mac Book Pro had a split drive with Windows Microsoft Access on it and it was removed when Mavericks installed.  I need this so how can I go back to the old system?

    Restore from the backup you had prior to installing Mavericks.
    However, the upgrade should not have altered your partition scheme. Did your erase and format the drive prior to upgrading?

  • Is it possible to attend the apple store to get phone updated if i dont have access to itunes and im having hardware problems?

    i was trying to update my iphone 5 to the new iOS but some how in between it kept crashing. after a few attempts to install the update it automatically gave me the screen to which it was asking to plug into itunes and making the phone disfunctional . i dont have access to itunes and wont for a few more days. can i just take it to the apple store and have them update the phone to where is now functional?

    Make an appointment before you go to avoid delay:
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/

  • Remote Desktop Access with Mac and Asus Transformer Prime

    I have an E2000 router with the most current firmware. I have a Sony VAio laptop with Windows 7 Home Premium 64bit,a Macbook with 10.6.8, and a new Asus Transformer Prime with ICS.My work desktop is a Dell Optiplex 380 with Windows 7 Pro 32bit. I frequently work from home and have no issues remoting into to my work PC from by Sony laptop via VPN and RDP.However I have never been able to connect successfully to my work PC with my Macbook(using Remote Desktop Connection 2.1 for Mac OS) or Asus tablet(using WYSE Pocket Cloud RDP app for Android). I can however connect to the VPN itself on the Macbook and tablet without issue same as my Windows laptop. The other interesting part is I can connect via RDP when I am connected to a Mi-Fi 3g hotspot. So it is definitely something in the my Linksys E2000 blocking the connection for some reason. I have even set Port forwarding of 3389 with the ip's of both the Macbook and Asus tablet.I have also tried connecting via ethernet to the router with the same outcome. I cannot ping my work pc from either device as well.In addition the firewall on my work PC is completely disabled and all services related to Remote desktop access are enabled and running.Does anyone have any ideas?

    For my tablet its own ip assigned by the router. Same with the macbook.the Pocketcloud RDP app also uses 3389.I have port 3389 set for both internal and external port and protocol "both" under the Single Port Forwarding tab in the router config.

  • After upgrading to the latest version of firefox. I can no longer access the internet and all traces of Mozilla Firefox are gone from my computer. I have no access to the internet, my home page or my e mails. What can be done??

    I have been using firefox for years. I downloaded the latest version and at the conclusion of the down load I was refussed access to the internet. Something about Proxy???? I checked my firewalls and security and they said that mozilla was allowed but everytime I attempt to gain access I am refused. I cant access the internet and I cant download another program to access the internet. I uninstalled Firefox and attempted to reinstall but after uninstalling Firefox I have no means to reinstall because there are no traces of it on my computer and I no longer have access to the internet. What do I do? I cant access my e mails, stored messages, favorites etc etc.

    No. After I select "Choose" the dialog box expands to provide only three choices. This is a new bug. I have only seen it in the past week or so, but it is maddening. I have observed that, while the Mozilla Foundation focuses on trivialities like which search engine should be the default, the Firefox application becomes buggier and buggier. Most of my family has switched to Chrome, and I will be following shortly. Firefox used to be a great program. Not any more. Getting assistance with a problem has also become very difficult.

  • Hi, I can't seem to get my ipod 32gb 4th gen to sync with itunes. It's brand new, but everytime I plug it in it says can't access Itunes store and nothing else happens. I enabled my firewall to allow itunes but it still can't access it. Please help.

    Hi, I can't seem to get my ipod 32gb 4th gen to sync with itunes. It's brand new, but everytime I plug it in it says can't access Itunes store and nothing else happens. I enabled my firewall to allow itunes but it still can't access the store. Please help.

    If you look at the feed, and look at the entry 'The end to an exciting field season in Aulavik National Park' you will see the line:
    <pubDateFri, 29 Jul 2011 04:00:00 GMT</pubDate>
    You have not closed the 'pubdate' tag - there should be a '>' as the 9th character. Because the tag has been left open, it invalidates everything which follows it, and thus the entire feed. iTunes therefore cannot read it, which is why the Store has not updated. Add the '>' and republish, and all should be well.
    It's always worth checking your feed by subscribing manually, from the 'Advanced' menu, or by clicking the 'subscribe free' button on the Store page (both do the same thing) - if you can subscribe to the feed it should be OK.

  • When I connect my apple tv to my access point upstair and connect my ipad to the same access point i cant see my apple tv when i open up the airplay menu on my ipad. but i can see the apple tv in the living room downstair which connect to the main router

    when I connect my apple tv to my access point upstair and connect my ipad to the same access point i cant see my apple tv when i open up the airplay menu on my ipad. but i can see the apple tv in the living room downstair which connect to the main router.
    Below is some info i get about ports.
    I tried to set DMZ on my main router to have full access to ported to access point upstair which is in the ip of 192.168.1.2 and the main router in the living room is the gateway router with the 192.168.1.1 ip.
    I still cant see apple tv after i try the DMZ method.
    any suggestion ?
    These network ports are used by Apple TV for communications on your network.
    TCP port 123 is used to communicate with a network time server.
    TCP port 3689 is used to communicate with iTunes while using the iTunes Library Sharing feature.
    UDP port 5353 is used by Apple TV for automatically finding computers with iTunes on your network using Bonjour.
    TCP port 80 is used for communicating with podcast servers.
    TCP port 80 and 443 are used for basic and secure communications with the iTunes Store via the Internet.
    TCP port 53 is used for regular DNS.
    These are well-known ports used by Apple products, like iTunes. If you can use all the features of iTunes, these ports are likely already open on your firewall or NAT router. Note: These ports may also used by other services such as YouTube and Flickr.

    When the Apple TV is paired with a remote, it means only that remote can control it, when it's not paired any remote can control it. You will need a remote for each of your devices.

Maybe you are looking for