Why does the DICTIONARY don't show the system_privilege_map table?

SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE    10.2.0.1.0      Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
5 rows selected.
SQL> desc system_privilege_map
Name                                      Null?    Type
PRIVILEGE                                 NOT NULL NUMBER
NAME                                      NOT NULL VARCHAR2(40)
PROPERTY                                  NOT NULL NUMBER
SQL> select count(*) from system_privilege_map;
  COUNT(*)
       166
1 row selected.
SQL> select * from dict where table_name = upper('system_privilege_map');
no rows selected
SQL>Amiel.

DICT is a synonym for DICTIONARY view.
Let us take a look to the DICTIONARY view definition :
SQL> select text from dba_views where view_name = 'DICTIONARY'
SQL>/
TEXT
select o.name, c.comment$
from sys.obj$ o, sys.com$ c
where o.obj# = c.obj#(+)
  and c.col# is null
  and o.owner# = 0
  and o.type# = 4
  and (o.name like 'USER%'
       or o.name like 'ALL%'
       or (o.name like 'DBA%'
           and exists
                   (select null
                    from sys.v$enabledprivs
                    where priv_number = -47 /* SELECT ANY TABLE */)
union all
select o.name, c.comment$
from sys.obj$ o, sys.com$ c
where o.obj# = c.obj#(+)
  and o.owner# = 0
  and o.name in ('AUDIT_ACTIONS', 'COLUMN_PRIVILEGES', 'DICTIONARY',
        'DICT_COLUMNS', 'DUAL', 'GLOBAL_NAME', 'INDEX_HISTOGRAM',
        'INDEX_STATS', 'RESOURCE_COST', 'ROLE_ROLE_PRIVS', 'ROLE_SYS_PRIVS',
        'ROLE_TAB_PRIVS', 'SESSION_PRIVS', 'SESSION_ROLES',
        'TABLE_PRIVILEGES','NLS_SESSION_PARAMETERS','NLS_INSTANCE_PARAMETERS',
        'NLS_DATABASE_PARAMETERS', 'DATABASE_COMPATIBLE_LEVEL',
        'DBMS_ALERT_INFO', 'DBMS_LOCK_ALLOCATED')
  and c.col# is null
union all
select so.name, 'Synonym for ' || sy.name
from sys.obj$ ro, sys.syn$ sy, sys.obj$ so
where so.type# = 5
  and ro.linkname is null
  and so.owner# = 1
  and so.obj# = sy.obj#
  and so.name <> sy.name
  and sy.owner = 'SYS'
  and sy.name = ro.name
  and ro.owner# = 0
  and ro.type# = 4
  and (ro.owner# = userenv('SCHEMAID')
       or ro.obj# in
           (select oa.obj#
            from sys.objauth$ oa
            where grantee# in (select kzsrorol from x$kzsro))
       or exists (select null from v$enabledprivs
                  where priv_number in (-45 /* LOCK ANY TABLE */,
                                        -47 /* SELECT ANY TABLE */,
                                        -48 /* INSERT ANY TABLE */,
                                        -49 /* UPDATE ANY TABLE */,
                                        -50 /* DELETE ANY TABLE */)
                  ))Which means listed only some specific objects :
1. view (o.type# = 4) started by USER%, DBA%, ALL% owned by SYS (o.owner# = 0).
2. hard coded objects owned by SYS (o.owner# = 0).
3. Objects created as PUBLIC (so.owner# = 1) synonyms (so.type# = 5) which have a name different than synonym and point to a view (ro.type# = 4) owned by SYS (ro.owner# = 0)
I have to say that I rarely use DICT(IONARY) view, for my mind it's useless, DBA_OBJECTS is more usefull.
Lastly, why created this thread in Documentation forum ?
Nicolas.

Similar Messages

  • Why does the work table have a 0 in the prefix? C$_0

    My phyiscal schema specifies that the mask (by default) should be C$. Does anyone know where the 0 is coming from?

    Hi Alastair,
    I'm using LKM File to Oracle (External Table), setting LKM option DELETE_TEMPORARY_OBJECTS to False, and I want to be able to refer to the created temporary table, $C_#table_name later in my package. However, I need from an application code standpoint to be able to guarantee the name of the External Table, i.e. what that # will be. Whether I can select it from a call method or from the repository or something; I just need to make sure what that number is always going to be so that my downstream processes don't fail in the reference. So what did you end up doing?

  • Why does the color red change from working with images in develop to library?  The color gets lighter and nothing shows a change on histogram but visually you can see it.

    Why does the color red change from working with images in develop to library?  The color gets lighter and nothing shows a change on histogram but visually you can see it.

    That's probably a broken display profile. The conversion from Library's Adobe RGB is different than the conversion from Develop's linear ProPhoto, so if there's a problem with the display profile it can show up this way.
    Recalibrate, or if you don't have a calibrator use sRGB. If your monitor is a wide gamut model use Adobe RGB.
    Assuming Windows, change it in Control Panel > Color Management > Devices, and relaunch Lightroom so that it can pick up the new profile at startup:

  • Why does the content of my emails not show on the main Mail page but does in the Inbox list of all emails?

    Why does the content of my emails not show on the main Mail page but does in the Inbox list of all emails?

    Try a Reset [Hold the Home and Sleep/Wake buttons down together for 10 seconds or so (until the Apple logo appears) and then release. When the screen goes blank power On again in the normal way.] It is absolutely/appsolutely safe!

  • Why does the coversheet show in Acrobat Pro 9?

    This may have been answered before...I just haven't found it.
    Using Acrobat Pro 9 on XP...
    Why does the  'For the best experience..." coversheet show in documents that I have inserted pages to?
    I do everything with Acrobat Pro 9.
    it is frustrating to not be able to access these documents.
    thanks for the help.

    Without seeing the form it would be pretty hard to tell beyond what was stated.
    Are any of the users using a mobile device to fill in the form?
    It is possible the non-Adobe mobile users are manually adding up the fields and entering the string currency symbols and thousand separators, either of which could cause this error.

  • Why does the iTunes not show "Photos"

    Why does the new iTunes not show "Photos" after it is synced, and why does iCloud not show Photos also?

    Ralph9430 offers a good suggestion.  But you may need to do this before taking his advice:
    Check in iPhoto's Preferences (which you can open from the iPhoto menu).  Look in General, and make sure "Connecting Camera Opens" is set to "Image Capture").
    If it is set to "iPhoto", you won't be able to get to Image Capture easily.

  • Why does the Iphone4 freeze up after downloading the IOS7.6 patch showing an ITUNE icon? The phone will not change screens for 4 hours.

    Why does the Iphone4 freeze up after downloading the IOS7.6 patch showing an ITUNE icon? The phone will not change screens for 4 hours.
    I Turn it off/on  and nothing changes.

    Hello bigboza,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/ts3281
    If the device remains unresponsive or does not turn on (or power on), reset your device.
    If there is no video or if the screen remains black, verify that the device has enough charge to turn on:
    If you are using an iPad, ensure that it's connected to the USB Power Adapter supplied with the device.
    Let it charge for at least twenty minutes, then see if it starts normally.
    If there is no image on the screen, press the Sleep/Wake button to attempt to wake the device.
    If the screen displays a red battery icon, continue charging the device until the battery is fully charged. Learn more about charging iPhone and iPod touch, or iPad.
    If the above steps do not resolve the issue, or the if the screen remains black or shows a persistent Apple logo, try restoring with iTunes:
    Connect the device to your computer and open iTunes.
    If the device appears in iTunes, select and click Restore on the Summary pane. Learn more aboutrestoring iOS software.
    Have a nice day,
    Mario

  • Why does the keyboard show up when i read a book in Kindle?

    why does the keyboard show up when i read a book in Kindle?
    it blocks about 1/4 of the page. but when i turn the ipad to horizontal it goes away.

    Try these basic things and see if the keyboard goes away for good.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Quit the Kindle App and restart. Go to the home screen first by tapping the home button. Quit/close open apps by e tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus (-) sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • Why does the iMessage never show what time it was sent

    Why does the iMessage never show the time the iMessage was sent and also delivered or read

    Matt,
    You can't remove the time.  However, if you make the column narrower, only the Date will show.

  • Why does the new version 5 of firefox show up all the graphics on web sites with a huge wide black border?

    Why does the new version 5 of firefox show up all the graphics on my web sites with a huge wide black border? They should be narrow and yellow!! I use iWeb for my web sites on an AppleMac iMac 22" wide screen.

    That is unfortunately a bug only in Firefox 5 and will be fixed in Firefox 6 (Aug).
    See:
    * http://forums.mozillazine.org/viewtopic.php?f=25&t=2240429

  • Why does the itunes cloud only show sometimes and what does it do?

    Why does the itunes cloud only show sometimes and what does it do?

    Hi there tettyuk,
    You may find the information in the article below helpful.
    iTunes Match: Understanding the iCloud Status icons
    http://support.apple.com/kb/ts4124
    -Griff W.

  • Why does the keyboard shows up when i read a book in Kindle?

    why does the keyboard shows up when i read a book in Kindle?

    Try these basic things and see if the keyboard goes away for good.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Quit the Kindle App and restart. Go to the home screen first by tapping the home button. Quit/close open apps by e tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus (-) sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • Using Windows 7 and LR 5  when I look at the Keyword List a certain keyword has 7 pictures but when I check the Library Filter with that keyword 350 pictures are shown which includes the 7 pictures that have the keyword.  Why does the Library Filter showi

    Using Windows 7 and LR 5,  when I look at the Keyword List a certain keyword has 7 pictures but when I check the Library Filter with that keyword 350 pictures are shown which includes the 7 pictures that have the keyword.  Why does the Library Filter showing pictures that do not match the query

    Dan,
    Here's what's going on in the catalog you sent me, "Joel & Caitlin's Wedding".  There is the keyword "gwenn", which is explicitly assigned to 7 pics. But keyword "schwartz" has a number of synonyms, including "gwenn", and it is assigned to 25 pics.  There is no overlap between the two sets of pics. 
    I discovered these two occurrences by doing Metadata > Export Keywords, opening the exported file in an editor, and then searching for "gwenn".  I found two occurrences of "gwenn":
    gwenn
    schwartz
        {gwenn}
    From this, you can see that the keyword "schwartz" has 9 synonyms, of which "gwenn" is one.
    The filter criterion "Keywords Contain gwenn" will match the 7 pics that are explicitly assigned the keyword "gwenn", and it will also match the 25 pics assigned the keyword "schwartz", because that keyword has a synonym "gwenn".
    This illustrates the behavior I mentioned above: The criterion "Keywords contains x" will match against any of a pic's assigned keywords, any of those keywords' ancestor keywords, and any of the synonyms of the assigned keywords and their ancestors.
    So LR is operating correctly here, if not in a way that's easy to understand. 
    It appears that you are using the synonyms of "schwartz" to represent individual members of the Schwartz family.  A better way of representing family relationships is to have a parent keyword "Schwartz", with subkeywords for each family member, e.g. "Gwenn Schwartz", "Joe Schwartz", "Jane Schwartz", etc.  Repeating the family name in the subkeywords has a couple of advantages. LR usually only displays the "leaf" name of a keyword, so instead of showing you just "Joe", it will show you "Joe Schwartz", helpful when there are a number of different people whose first name is "Joe".  Also, if you ever export your pics to other software, it may not understand the LR hierarchy and won't show the parent keywords, so again it's more informative to see a keyword named "Joe Schwartz" rather than "Joe".

  • Why does the calender do not show the right time if you want to choose 10, 11, 12 o'clock or any other time with 1x:00?

    Why does the calender do not show the right time if you want to choose 10, 11, 12 o'clock or any other time with 1x:00? It only shows 1:00 and there is no way to change the time to 1x:00.

    Ok well you need to get your facts straight. You say the reason to upgrade to OS 4 but half of these have to do with the new iPhone 4 and not the OS. Two totally different issues

  • Why does the Utilities Folder not Show up within the Applications folder on my Dock

    Why does the Utilities Folder not Show up within the Applications folder on my Dock, but is showing within the finder view? Thanks!
    Lynn Kenneth Pecknold

    Thanks, I have reminders on my iphone, which has all the icloud stuff

  • Why does the lion logo have spots on his nose?  I don't think lions EVER have spots like this.  If photoshopped, why?

    why does the lion desktop pic (a beautiful lion for sure) have spots on his nose....they never do!  This just ruins a beautiful animal face...why not just leave it alone? Looks like a bad photoshop job...done by someone who has never seen a real lion.....but why?

    I though you were joking.
    Anyway, do a quick search of "Lion" in google images
    I see spots.
    Here's the desktop photo:
    Interesting though, it looks like the spots were removed in the photo used in the App store:

Maybe you are looking for

  • ABAP Urgent Please Help

    We have transported some programs from A->B Now, In A every thing is working fine. But the transports in B are failing with one error saying Program YR****, Include Z***: Syntax error in line 000134 The type '/1FB/MD_________2S300YJ' is unknown. This

  • Is there a limit to number of pages for a book created in iPhoto?

    Working on a large photo project: just wondering if there's a limit to the size of a book created in iPhoto.

  • How to set same domain name for Azure Storage and Hosted Service

    I have a web application running on azure and using azure storage with blob. My application allows to edit html files that are in the azure storage to save with another name and publish them later. I am using javascript to edit the html content that

  • Duplicates in my music library

    I have a playlist for my songs in the I-Phone 4. My problem is that i have duplicates of the songs. But my playlist and i-tunes are syncing, just that when i browse the songs through the phone's library i have 3 copies of each songs. When i checked t

  • Help !! How to use SmtpClient in an Applet?

    Hi, I have 2 TextFields and a button in an Applet. On click of the button, I wanted to get connected to an email server (e.g pop.mail.yahoo.com) and post my message using (smtp.mail.yahoo.com) to "[email protected]" . I tried this programme using bot