Some kind of join

Hi,
is ther any solution to display the following results to gether and for all tables of a schema :
SQL> select count(*) from myshema.atable;
  COUNT(*)
       117
SQL> select num_rows,table_name  from all_tables where OWNER='myschema' and table_name = 'atable';
  NUM_ROWS TABLE_NAME
       117 atableThe aime is to compare num_rows from all_tables with real number of rows in tables.
Thank you.

Based on:
Laurent Schneider
http://laurentschneider.com/wordpress/2007/04/how-do-i-store-the-counts-of-all-tables.html
SQL> select
  2    table_name,
  3    to_number(
  4      extractvalue(
  5        xmltype(
  6 dbms_xmlgen.getxml('select count(*) c from '||table_name))
  7        ,'/ROWSET/ROW/C')) count
  8  from user_tables
  9 where iot_type != 'IOT_OVERFLOW'
10 or    iot_type is null;
TABLE_NAME                      COUNT
DEPT                                4
EMP                                14
BONUS                               0
SALGRADE                            5Index Organized Table - Overflow Table
If such tables exist they cannot have "count(*)" done on them -
ORA-25191: cannot reference overflow table of an index-organized table
You can simply add the num_rows into the above query.

Similar Messages

  • Some kind of glue coming from the LCD-monitor

    My husband gave me a BB pearl for Christmas last year (08)….but suddenly, a couple of weeks ago (maybe months), I started to get some kind of glue from the “monitor”…
    I called T-Mobile right away, and they said that as we did not pay for the insurance, they cannot do anything for this issue…They also said we couldn’t claim the guarantee because they have never heard anything about glue coming out from the monitor…
    Does anybody face something like this?

    I haven't heard of that, yea it is possbile I suppose.
    If I were you, I would take it back to the specific Tmobile retail store where it was purchased and demand the replacement in warranty since it it still less that a year old.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Recently when opening up Photoshop, my Adobe CS6 Master Collection pops up saying there's some kind of offer going on the Creative Cloud.  For awhile I was just able to close out of it and go about my business on Photoshop, but now it's not allowing me to

    Recently when opening up Photoshop, my Adobe CS6 Master Collection pops up saying there's some kind of offer going on the Creative Cloud.  For awhile I was just able to close out of it and go about my business on Photoshop, but now it's not allowing me to open Photoshop unless I sign up/pay.  I'm quite confused?  I really NEED to have access to Photoshop ASAP.

    Sign in, activation, or connection errors | CS5.5 and later
    Mylenium

  • After upgrading to lion vevo, youtube, and hbo no longer plays videos. I'm assuming this is some kind of plug-in issue. How can I resolve it?

    After upgrading to lion, vevo, youtube, and hbo no longer plays videos. I'm assuming this is some kind of plug-in issue. How can I resolve it?

    Adobe has published a list of known issues relating to Mac OS 10.7 Lion here:
    http://kb2.adobe.com/cps/905/cpsid_90508.html
    The download page for Flash Player for Mac is here:
    http://get.adobe.com/flashplayer/?promoid=ISMRZ

  • I want to use my Mac desktop as a portal for viewing my cable television via some kind of cord. Is this possible and what do I need to set this up?

    I want to use my Mac desktop as a portal for viewing my cable television via some kind of cord. Is this possible and what do I need to set this up?

    It can be done with analog but not digital thanks to "good 'ol" HDCP copy protection which apple (and most other manufacturers) unfortunately respect.
    So you can take the analog output from your cable box (component -- 5 cables -- if it has it but generally they all have composite -- 3 cables) and feed it into some kind of converter or into some appropriate pci card for your mac pro.  But none of them are going to let you directly use the HDMI output from the box to your computer.
    Bottom line, no single cord is going to work and it will never be the higher quality digital picture you get on your tv.
    Some qualification:  There are boxes that I think support hdmi input.  Look at Blackmagic.  But I still don't think you can get around the HDCP from the cable box (might depend on the kind of cable box). 

  • I dropped my phone in the water I know it's not covered with the Warranty so what can I do can I trad it in and get a new one and pay some kind of money or do I have too just buy a whole new phone?

    I dropped my phone in the water I know it's not covered with the Warranty so what can I do can I trad it in and get a new one and pay some kind of money or do I have too just buy a whole new phone?

    The genius bar folks will be glad to help...and if you have backed up your iPhone in iCloud they will restore the backup to the replacement iPhone for you while you wait.
    Call or email for an appointment, you don't want to add to your frustration by standing around waiting for someone to get free to help you.

  • I currently run the Design and Web Premium CS6 on a first generation MacBook Air and want to buy a new MacBook Pro. How do I know whether I can install my Adobe programs onto the new computer? Because I know there is some kind of limit.

    I currently run the Design and Web Premium CS6 on a first generation MacBook Air and want to buy a new MacBook Pro. How do I know whether I can install my Adobe programs onto the new computer? Because I know there is some kind of limit.
    Also, I had to install the software twice on my same computer before because I had to reboot the computer. I don't know if this affects the limit.

    You are allowed to have two activated installations so there should not be a problem having working installations on the two machines.  If by chance you have somehow tied up two activations for the one machine you can have Adobe support help resolve that thru chat.
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • I have a MackBook A1181 I need to upgrade my Safari so Outlook will work and would like to get some kind of word/writing tool on it... the info is:  Model Name:     MacBook   Model Identifier:     MacBook1,1   Processor Name:     Intel Core Duo   Processo

    I have a MackBook A1181 that I bought off Ebay :/ it came with pirate discs and no info....I need to upgrade my Safari so Outlook will work and would like to
    get some kind of word/writing tool on it... the info is:
    Model Name:          MacBook
      Model Identifier:          MacBook1,1
      Processor Name:          Intel Core Duo
      Processor Speed:          1.83 GHz
      Number Of Processors:          1
      Total Number Of Cores:          2
      L2 Cache (per processor):          2 MB
      Memory:          2 GB
      Bus Speed:          667 MHz
      Boot ROM Version:          MB11.0061.B03
      SMC Version:          1.4f12
      Serial Number:          4H631CVDU9B
      Sudden Motion Sensor:
      State:          Enabled
    Can anybody help?!

    First correct the pirate disc issue. Buy OS X 10.6 Snow Leopard from Apple for $19.99 here http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    Snow Leopard is the latest version your macbook 1,1 will run. Oitlook is part of the Microsoft Office suite, if you want outlook you'll need to also purchase Office. If you can get by with Apple's mail program there are free alternatives to Office like Libre Office or Open Office.

  • Looking for some kind of Docking Bar...

    I am not exactly sure what to call the item I am looking for, I can only describe it. I need some kind of small bar to just keep all my coords and wires plugged in at home at my desk so that when i come home I can just slap the bar on the side of my macbook pro and be done with it.
    I know many are going to say to just stop being lazy and plug them in but my roommate has a computer on the same desk and its a pain in the butt fishing for all my wires every time I come home. I also don't have the room nor the money to afford a full docking station.
    Thanks for your advice

    kudagra wrote:
    I am not exactly sure what to call the item I am looking for, I can only describe it. I need some kind of small bar to just keep all my coords and wires plugged in at home at my desk so that when i come home I can just slap the bar on the side of my macbook pro and be done with it.
    I know many are going to say to just stop being lazy and plug them in but my roommate has a computer on the same desk and its a pain in the butt fishing for all my wires every time I come home. I also don't have the room nor the money to afford a full docking station.
    Thanks for your advice
    Will this work for you?
    http://www.cultofmac.com/gorgeous-docking-stations-allow-you-to-easily-use-your- macbook-as-your-main-work-machine/39125

  • Will apple tv work with a hdmi splitter of some kind ? TV only has 2 hdmi ports and both are in use

    will apple tv work with a hdmi splitter of some kind ? TV only has 2 hdmi ports and both are being used .
    If splitter will work any recomendations as to best type to use

    The Hatter,
    I am a novice at Mac so I read all I can.  From what I understand the NEC monitors I bought require Display Port for their maximum performance.  The GTX 680 only has DVI outputs.  Difference from what I understand is larger bandwidth with the DP.
    You said I have the 4000 for CUDA.  I am not all that familiar with CUDA and when I do read about it I do not understand it. 
    A concern I have is, that if I connect the 2 high end NEC monitors via the 5770, using it's 2 Display Ports I would have nothing connected to the 4000.  Is the 4000 doing anything with nothing connected?  I read where in a PC system the 2 cards would interact but in a Mac system they do not.
    Bottom line, as I see it, the 4000 will not be useful at all to me, since I want a dual monitor set-up.
    So far the 5870 seems the best choice, higher band width than the 5770, and it has 2 Display Ports to optimize the NEC monitors.
    I'm not sure how fine I am splitting hairs, nor do I know how important those hairs are.  I am just trying to set up a really fast reliable system that will mainly be used for CS6 and LR4.  Those NEC monitors are supposed to be top notch.

  • I am so frustrated. I found some kind of Apple chatline on my Iphone and was communicated with Krystal when we were cut off. I am know on my computer because I cannot find it on my phone. I am trying to find out how to use Icloud to locate my phone in my

    Where did I leave off? Anyway, I found some kind of chatline on my phone. She was in the midst of helping me to use the computer to call myself. I have my phone but I often lose it in the house. I was told that the computer can make the alarm go off. Can someone help me?

    Did you set up Find My iPhone when you first set up your phone? If so, you can log into icloud.com with your Apple ID and use Find My iPhone there. If you didn't, there is no way to do what you are asking.

  • Iphone 5 is taking too long to download through EDGE why????????Please help i just wnat to confirm that it is the normal behaviour or it is some kind of problem please help

    iphone 5 16 gn black my iphone is taking too long to download apps from apps to download on my iphone so please help from overcoming this problem
    i just want to know this is the normal behaviour or it is some kind of problem

    You have to turn on 3G/4G/LTE and be in a coverage area for such to happen.
    Or connect to wifi.
    Normal behavior for Edge is very very slow.

  • The entire visual display on my iMAC screen has gone into some kind of " negative" (probably when I put something down on the keyboard....derr!) I have not found any way to gety it back to "normal". Please help

    The entire display on my iMAC has gone into some kind of "negaive" (in the photo-sense. Any clues on how to get it back to normal?

    Open the Universal Access pane of System Preferences, click on the Seeing tab, turn off White on Black, and drag the Contrast slider all the way to the left.
    (60564)

  • Firefix doesn't display some kind of pictures

    Firefix doesn't display some kind of pictures in the google+. I've tried an advice from support but problem still exists (https://support.mozilla.org/en-US/kb/fix-problems-images-not-show).
    Other internet browser shows these pictures correct. It seems to me the problem concerns .bmp files
    as I unvestigated searching other browsers.

    If you use extensions (Firefox/Tools > Add-ons > Extensions) that can block content (e.g. Adblock Plus, NoScript, Flash Block, Ghostery) then make sure that such extensions aren't blocking content.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How do I put some kind of parental controls on my ipad 2? My 7 year old daughter just purchased, without my permission, $275 worth of in app purchases in Mall Stars game.  Any tips on how to reverse that purchase?

    How do I put some kind of parental controls on my ipad 2? My 7 year old daughter just purchased, without my permission, $275 worth of in app purchases in Mall Stars game.  Any tips on how to reverse that purchase?

    You can also contact itunes support and ask for a refund.
    expresslane.apple.com
    https://expresslane.apple.com/Issues.action

Maybe you are looking for