Can't select from view even though it appears in ALL_VIEWS

Oracle's documentation states that all_views "describes the views accessible to the user":
http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_2117.htm
DBA_OBJECTS appears in the ALL_VIEWS, yet I get a "table or view does not exist" error when I try to select from it.
Any thoughts on why this is happening?
SQL> SELECT COUNT(1)
  FROM all_views
  WHERE owner = 'SYS'
  AND view_name = 'DBA_OBJECTS'
  COUNT(1)
         1
1 row selected.
SQL> SELECT *
  FROM sys.dba_objects
SELECT *
  FROM sys.dba_objects
Error at line 2
ORA-00942: table or view does not exist

That's not standard behaviour:
DBA >create user u1 identified by u1;
Utente creato.
DBA >grant connect to u1;
Concessione riuscita.
DBA >conn u1/u1
Connesso.
DBA >select count(0) from all_views;
  COUNT(0)
       856
DBA >select view_name from all_views
  2  where view_name like 'DBA%'
  3  or view_name like 'V$%';
VIEW_NAME
DBA_PROCEDURES
DBA_PUBLISHED_COLUMNS
V$OBJECT_USAGE
DBA >select 'select count(*) from '||owner||'.'||view_name||';'
  2  from all_views
  3  where view_name like 'DBA%'
  4  or view_name like 'V$%';
'SELECTCOUNT(*)FROM'||OWNER||'.'||VIEW_NAME||';'
select count(*) from SYS.DBA_PROCEDURES;
select count(*) from SYS.DBA_PUBLISHED_COLUMNS;
select count(*) from SYS.V$OBJECT_USAGE;
DBA >select count(*) from SYS.DBA_PROCEDURES;
  COUNT(*)
      6793
DBA >select count(*) from SYS.DBA_PUBLISHED_COLUMNS;
  COUNT(*)
         0
DBA >select count(*) from SYS.V$OBJECT_USAGE;
  COUNT(*)
         0All the DBA* or V$ visible are also accessible, DBA_OBJECTS is not present in ALL_VIEWS.
There's something strange on your user's priviledges...
Max
[My Italian Oracle blog|http://oracleitalia.wordpress.com/2010/01/02/query-gerarchiche/]

Similar Messages

  • I need a data transfer from intact hard drive of older macbook that won't boot. Can Apple provide this service even though my one to one membership has expired?

    I need a data transfer from a 2005 Macbook to my new one (2010). I damaged the old laptop and although it wouldn't turn on, when I brought it to the Apple Store they ascertained that the hard drive was still intact. They said I needed to purchase a one to one membership to get a data transfer, which I did, but somehow forgot about it and now it's expired. Is there any way I can still get the data from the old hard drive transferred to my new macbook? Can Apple provide this service even though my one to one membership has expired?

    Go to OWC where you can purchase a suitable enclosure for the drive. You will need an enclosure for a SATA notebook drive. This is assuming the old computer is a MacBook and not an iBook. I make this observation because the first MacBook was released in 2006, not in 2005. If yours is a 2005 model then it's an iBook and uses an ATA interface.
    Install the old drive in the enclosure, connect to your new computer. You can then transfer your data.

  • HT3702 Why can't I download my already purchased music and other files from iCloud, even though I owe money to iTunes for my most recent purchases.  Doesn't seem right that they keep me from accessing those files which I've already paid for!

    Why can't I download my already purchased music and other files from iCloud, even though I owe money to iTunes for my most recent purchases.  Doesn't seem right that they keep me from accessing those files which I've already paid for!

    - Are you saying that they are not listed in your Purchased section?
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    - Are they listed in your Puchases history when you log into your account on your computer?
    - Are they still available now for purchase? If not then you are out of luck
    If they are still available and listed in your Puchase History then contact iTunes
    http://www.apple.com/support/itunes/

  • Can you fix my ipod, even though i never bought it from your shop?

    Can you fix my ipod, even though i never bought it from youe store?

    Yes, the Genius Bar at the Apple Store should normally service Apple products, regardless of where the product was purchased.  You can make a reservation (so you don't have to wait) through the web site
    http://www.apple.com/retail/

  • Why is the "From:" field being changed in Mac Mail.  I have multiple gmail accounts setup and it seems to change the "FROM" field even though I've selected which account to use to send the email.

    So
    I've got multiple gmail accounts setup in Mac Mail.
    Somtimes when I send or forward emails, it uses the wrong FROM field even though I'm declaring
    specifically which account to use.
    This becomes apparent when the person replies to my message and it goes to the wrong account

    Check you accounts in Mail and make sure each account has the correct outgoing server address. Check the box to use only that server.
    Second, go to the gmail website and in settings under the account tab, make sure you have the correct settings for replying to messages.

  • Can I Select from table skipping extents linked with lost datafiles?

    Hi~,
    I need your help to recover my database.
    I'm using oracle 9.2.0.8 at Fedora 3 with no-archive mode.
    and I don't have any backup.
    Last night, I experenced hard disk failure.
    I tried OS-level recovery, but I lost some datafiles of tablespace.
    anyway, I wanted to recover my database without data of lost datafiles.
    so, I issued "alter database datafile offline drop" and
    start oracle instance.
    But, datafiles were not removed from dba_data_files view and
    extents linked with lost datafiles were not removed from dba_extents view!
    Selecting query of some table containing extents linked with lost data files,
    I got "ORA-00376: file xxx cannot be read at this time" message.
    So, my question is that..
    HOW CAN I SELECT FROM THAT TABLE WITHOUT SCANNING EXTENTS LINKED WITH LOST DATA FILES?
    Thanks.

    Hi,
    Without being in archivelog and without backup, one can't do any sort of recovery. That's why backups and archivelog are so so important.
    The offline data file command never does actually drop the datafile. It merely indicates to the control file that now the said tablespace will also be dropped. This won't update any view that the files are not supposed to be used or shown to you anymore.
    This is what documentation says about the recovery of the database in the NoARch mode,
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/osrecov.htm#i1007937
    You do need a backup in order to get those tables being read. Oracle doesn't have any feature which can offline/skip the missing extents for you and let you read the data without them.
    HTH
    Aman....

  • Why do all of my incoming calls on my iPhone 5c say they are from unknown, even though I have the person calling already in my contacts?

    why do all of my incoming calls on my iPhone 5c say they are from unknown, even though I have the person calling already in my contacts?

    Caller ID can also be turned off on some networks e.g. iOS has a setting for UK phones to turn it off. You should try calling from a number you know is not blocked from sending the caller ID.

  • Can not select from SAPTOOLS.DB6PMCF

    We use third-party tool to monitor our SAP systems. We receive an error
    Can not select from SAPTOOLS.DB6PMCF
    when we monitor DB2 database.
    Function DB6PMCF is registered in SAPSID schema. Can I register it also in SAPTOOLS schema? What is a correct procedure for this?

    Hi Milan,
    I think you have to issue the following command for the affected user.
    db2 "grant execute on function saptools.db6pmcf to <user>"
    regards, Javier Rocha

  • How can I select from drop-down list and jumping to selected subform?

    I using LC Designer ES2 vers 9. Developing XDP. How can I Select from a drop-down list the appropriate selected subform (jumping to the selected subform on the page)?
    drop-down list...A (jump to subform1)
                             B (jump to subform2)
                             C (jump to subform3)
    subform1
    subform2
    subform3
    ....end of form

    Hi,
    you cannot set focus on a subform but on a field, as only interactive objects can be focussed.
    From a dropdowns exit event the script will look this way:
    switch (this.rawValue) {
              case "A" : xfa.host.setFocus("form1.page2.field1"); break;
              case "B" : xfa.host.setFocus("form1.page2.field1"); break;

  • I can't open pdf files even though adobe reader is downloaded.

    I can't open pdf files even though adobe reader X1 is downloaded.

    May seem like an obvious question but, did you install it after you downloaded it?
    If so, how are you trying to open these files and what happens when you try?

  • In "Previews" when adding text to a picture I can't change the font, even though a few days ago I could.  How do I fix this?

    In "Previews" when adding text to a picture I can't change the font, even though a few days ago I could.  How do I fix this?

    kgwrotethis wrote:
    10.6
    Use Software Update to update your os to 10.6.8 and anything else that needs to be updated.  After the installations go to /Library/Preferences - trash the com.apple.Preview.plist file.  Repair permissions, restart your computer and empty the trash.  Your Preview issue should now be resolved.

  • Set preset values that can be selected from a pull-down manu

    I am writing a VI in LabView 7.1 to collect data. I have a set of variables that need to be set at the beginning. I used Basic Information subVI to input these variables to be saved in the data file header, but everytime I run the VI I have to type in pretty much the same thing. The variables I use usually can be selected from a list of number, text or Y/N. I thought about using Configure File VI, but I think that will only give me a fixed set, not a choice. I wonder if there is a way to preset a list of variables so that I can select one value from the list rather than type in everything each time.
    Thanks,
    Ron

    1. Write a Vi that have all your variables i.e. enum, ring, text controls, boolean controls etc
    When this Vi is called, it allows user to configure all settings
    There will be a "save" button. Upon clicked, it should prompt user to input a filename (i.e. *.ini) and the file will be saved to a pre-determined directory i.e. LabVIEW Default Directory
    With the above, a new *.ini file is created for respective set of variables.
    2. Knowing that all *.ini files are stored at LabVIEW Default Directory, make use of the attached example VI, modify it to suit your needs, to get all *.ini filenames and update to the Combo Box control
    With the Combo Box control, you can now choose the desired configuration file (*.ini) to be loaded for the rest of the test needs.
    3. The selected *.ini file path is now input to a Vi that does the extraction of all variable settings from the selected *.ini file.
    Above is just one of many ways that you could have a pull-down menu for selecting a set of settings from a set of configuration files.
    Hope this make sense to you
    Cheers!
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    IFK_CFIO_Get Filenames to Combo Box.vi ‏30 KB

  • HT1386 I have an app called ipieta which was originally downloaded onto an ipod. I gave the ipod to someone else, but now that I've had the iphone I can not get the audio even though it is downloaded into itunes music like it said to do.  It won't work.

    I have an app called ipieta which was originally downloaded onto an ipod. I gave the ipod to someone else, but now that I've had the iphone I can not get the audio even though it is downloaded into itunes music like it said to do.  It won't work.  I've tried more than several times to get help but nothing helps. Do I need to deauthorize the ipod or perhaps erase all the downloaded ipieta stuff and start over?
    Thanks for any suggestions

    Sorry. There's nothing anyone can do. The current version of the facebook app will not run on 4.2.1. The iPhone 3G won't run anything higher than 4.2.1. You're stuck.
    Maybe it's time to buy yourself a new iPod Touch.

  • I can't activate my programs even though I paid for a subscription.  I did a chat with the help desk and they didn't solve my problem.  I want to cancel my account.  Please contact me since the chat is down

    I can't activate my programs even though I paid for a subscription.  I did a chat with the help desk and they didn't solve my problem.  I want to cancel my account.  Please contact me since the chat is down

    Activating after a Find My iPhone lock bricks the device if you don't know the password used by Find My iPhone.
    Read through this article to find if your device has an activation lock.
    http://www.macworld.com/article/2048739/get-to-know-ios-7-activation-lock.html
    If this is what you have - the news is bad:
    http://www.cultofmac.com/246755/why-ios-7s-activation-lock-is-a-disaster-waiting -to-happen/

  • When attempting to use Firefox with TOR I get "Firefox is configured to use a proxy server that can't be found."even though neither is configured to use a prox

    After installing TOR Browser Bundle 2.2.37-2, I get "Firefox is configured to use a proxy server that can't be found." even though neither is configured to use a proxy

    Hi,
    If the TOR Browser Bundle is installed you would have two versions of Firefox: the original Mozilla Firefox and the customized TOR Firefox. You can try to start the Firefox that was installed by TOR. If you have security software (antivirus, firewall etc.) installed, you can try deleting all existing instances of TOR and TOR Firefox and its related processes/files in all the different configuration areas/modules of the security software like process monitoring, sub/spawned process control, virtualization etc. in addition to the main AV/Firewall module. Instead create new fully allowed/trusted rules for TOR and TOR Firefox + its related processes. Even otherwise some security software may also ask again when TOR/TOR Firefox is started and you can try to allow/trust at that time. Please see [https://support.mozilla.org/en-US/kb/Firewalls this].
    [http://kb.mozillazine.org/Firewalls AV/Firewalls Configuration]
    [https://blog.torproject.org/blog/new-tor-browser-bundles-20 Support]
    You can also try [https://www.mozilla.org/en-US/firefox/new/ updating the original Mozilla Firefox], set '''No Proxy''' in '''Tools''' ('''Alt '''+ '''T''') > '''Options '''> '''Advanced '''> '''Network '''> [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Advanced%20panel?as=u Settings] and check.

Maybe you are looking for

  • Unable to setup Printer shared from Windows XP

    Hi, I am running snow leopard 10.6.2 and am trying to setup a printer attached to a Windows XP. The sharing is all setup and I am able to print to it from another windows machine. But my Mac will not even see it. Any tips or ideas?

  • Vista Ultimate SP1 (retail dvd) will not install on new Mac Pro

    I wish to dedicate a new 1TB hard drive in Bay3 on a brand new Mac Pro for Vista Ultimate SP1, preferably 64-bit. I have tried several times to install a retail dvd version of Vista Ultimate with SP1 (both 32- and 64-bit) without success on two diffe

  • I need a copy of the contract I agreed to many years ago.

    How do I get a copy of the contract, in the version that existed when I first agreed to a data plan?

  • Memory card spolit or..?

    Dear all, I'm using nokia 5300 for almost a year now and today, something's wrong with the 256mb memory card! the images and music files in it are missing but it still uses up the same amount of space as though the music files and images are still th

  • HT1459 help fix my ipod

    My Ipod touch has frozen how do i get it working again.