How can i find the tables which dont contain any data under my database ?

Can you please suggest me a way to find the tables which dont contain any data under my database ?
Regards,
Renu

Can you please suggest me a way to find the tables which dont contain any data under my database ?
For the schema that you've logged in to, you could do something like this:
test@XE>
test@XE> @test
test@XE> --
test@XE> set serveroutput on size 1000000
test@XE>
test@XE> declare
  2    n_count  number;
  3  begin
  4    for rec in (select object_name from user_objects
  5                where object_type = 'TABLE')
  6    loop
  7      execute immediate 'select count(*) from '||rec.object_name
  8      into n_count;
  9      if (n_count = 0) then
10        dbms_output.put_line(rec.object_name);
11      end if;
12    end loop;
13  end;
14  /
BONUS
RUN_STATS
PL/SQL procedure successfully completed.
test@XE>
test@XE>For the other schemas, you could query from dba_objects and probably display the owner as well.
HTH
isotope

Similar Messages

  • How can I find the table of

    How can I find the table of the structure fields?
    A structures table?
    for example the table of sap standard structure diaprd or diadrp, I do not remember now?
    Thanks.

    The hard way....
    Go to SE11
    Enter the structure
    Position the cursor on the field
    Press Where-Used List
    Check all related table to see which one fulfill your needs
    Greetings,
    Blag.

  • Managed System Configuration ! The table does not contain any data !

    Hi,
    In Sol Man Setup , Managed System Configuration, in phase 6 - Create Logical Componets -
    There is no Product Version and Product Instance Available.
    The message is :  " The table does not contain any data "
    How can correct this problem ?
    Thanks

    Hi,
    while creating new Logical Component via SMSY , you need to specify Product first.
    e.g. if you managed system is ERP 6.0 , select Product as SAP ERP
    once you select Product , it automatically fetches information for product Version and Main Instance depending upon Product field input.
    Please check and let us know if issue still persits.
    Thanks,
    Rupali

  • How can I find the program which is calling my SAPscript??

    How can I find the program(std/Custom) which is calling my SAPscript form??
    Regards,
    Shashank.

    Hi
    check in NACE transaction or TNAPR table
    reward points to all helpful answers
    kiran.M

  • How can I find the profiles which are not in a role

    Hi all,
    how can I find all profiles which are not used in a role. Its important for a security check.

    Hi Stefan,
    you do one thing use the transaction SUIM
    SUIM>>Profile>>By Roles
    give all the role name and execute you will get roles with profiles
    and extract to excel sheet
    to get only profiles
    suim>>profile>>by profile name or text give * and execute
    and extract in excel sheet no compate profile coloumns get the profiles which does not there in any roles
    hope ds helps
    thanks
    kishore

  • How can one find the table name of the Delta Que and setup table?

    Hi !
    Is there any method to find the table name of the delta que and Extraction que ?

    setup table = <extract structure>_setup
    example: setup table for MC11VA0ITM = MC11VA0ITM_SETUP
    Delta Queue is based on following 3 tables:
    ARFCSDATA
    ARFCSSTATE
    TRFCQOUT
    assign points if useful ***
    Thanks,
    Raj

  • When create heirarchy, can not find the entry which is in master data

    Hi, SDNs
        When create a heirarchy for a char , click this char button to add a fields to a node, i can't search the value which is actually in the master data.
       Thansk for your time

    If you go to create hierararchy or change mode of hierarchy
    3 types of nodes you can create
    1)Text node
    2)Charecteristic node
    3)Infoobject values node
    text node - is simple any text node you can create
    infoobject values node - if the master data is loaded you can create it
    if master data is loaded make sure its activated and no master data is under "M" version.
    charecteristic node - only if particular infoobject node is included in the tab "external chars in hierarchies" in RSD1 of that particular infoobject
    Hope it Helps
    Chetan
    @CP..

  • How can I find the words which spans across end of line to next line in pdf ?

    I am using Acrobat Adobe X Pro version for our form development and maintanence. I am writting a Acrobat JAVA batch script which reads through all the words and execute spell check and reports the mispelled words in a excel sheet. Since I am running this script in batch mode for more than 1000 pdfs - I am getting many words joined together. When I looked in to those pdfs all such words are looking okay because it is appearing in end of right margin and the next word is in the next line. Since there was no space between them it was extracted as a single word. Hence the failure.
    I used wordf = this.getPageNthWordQuads(i,j)  to get the word begin and end coordinates. when I closely observe the values are creating a rectangle and that doesnt span across lines. I got the coordinates for the regular word and the word which span acoross two lines. both of the coordinates are same.
    I think I am screwed - I have 8000 such words and no clue of how to get rid of them from the actual misspelled words.
    please help. let me know if any class /method if I call will give me the end of line or do I need to go to next layer to find this split.
    the addnot is somehow marking the words using this coordinates - please hellp me understand how this works. Thanks.
    // for all pages
    for (var i = 0; i < this.numPages; i++ )
    // For all the words
    pg += 1;
    numWords = this.getPageNumWords(i);
    for ( j = 0; j < numWords; j++)
    //get the spell check 
    ckWord = spell.checkWord(this.getPageNthWord(i,j))
    if ( ckWord != null )
    jn=0
    ml=0
    // if mispelled word found.
    wordf = this.getPageNthWordQuads(i,j)
    swordf = wordf.toString()
    var st = swordf.split(",")
    var diffx0 = parseInt(st[0])-8
    var diffx1 = parseInt(st[1])-8
    var diffx2 = parseInt(st[2])-8
    var diffx3 = parseInt(st[3])-8
    var diffx4 = parseInt(st[4])-8
    var diffx5 = parseInt(st[5])-8
    var diffx6 = parseInt(st[6])-8
    var diffx7 = parseInt(st[7])-8
    if (cWord == csword)
    jn = 1
    if ( st[1] != st[3] )
    ml = 1
    //dataLine += "\r\n write "
    else
    ml=2
    dataLine += "\r\n"+this.documentFileName
    + "\t" + this.getPageNthWord(i,j)
    + "\t" + pg
    + "\t" + j
    + "\t" + ml
    + "\t" + jn
    + "\t st[0] " + diffx0 + "\t st[1] " + diffx1 + "\t st[2] " + diffx2 + "\t st[3] " + diffx3 
    + "\t st[4] " + diffx4 + "\t st[5] " + diffx5 + "\t st[6] " + diffx6 + "\t st[7] " + diffx7 
    ck=1

    If Acrobat is reading each word part as separate words, you have a problem.
    The way I approached it in some of my tools was to check if a word ends
    with a hyphen, and if so, to check if it's the last on the line. If both
    conditions are true, combine with the next word on the next line. This is
    not fool proof, of course, as there are documents with columns are other
    structural elements that prevent this from working. Better than nothing,
    though...
    However, it is also possible that Acrobat does see both parts as parts of
    the same word. In that case, getPageNthWordQuads() will return multiple
    quads arrays. As you know, that method returns an array of quad arrays.
    There's usually only one, but in principle there could be more... Something
    to check before giving up.

  • I will sell my touch. how can i make sure that i dont lose any data but the buyer does not access my info.

    i will sell my touch and get the new one. how can i transfer my apps and ID to the new one and erase my info from the old one?
    thanks!

    Yes.  If you do it through the settings on the iPod and have an older iPod, make sure the iPod is charging either via a computer or wall charger.  It can takes hours to erase an older iPod.

  • In iPhoto, how can I find the videos which are used in iMovie?

    My overall goal is to split my iPhoto library, because it's taking up half my HD. (Proud dad, taking too many burst photos and videos of the little guys). I'll put the videos and older-year photos onto an external drive.
    Problem is - I can't figure out which iPhoto video clips are in my Huge Home Movie, which has about 5 minutes from every month from 2008-2011.
    Is there a way that I can find them? Perhaps I can flag or rate them in iMovie? Perhaps a smart album in iPhoto?
    Details:
    iMovie '11 (9.0.9)
    iPhoto '11 (9.4.3)
    Willing to upgrade to newer versions if they solve the problem.

    Restore solved it!

  • How to find the tables which are the candidates for gathering stats in 10g

    Hi,
    In 10g how can we find the tables, partitions which are the candidates for gathering the stats.
    I want to findo those tables, partitions and gather the stats on daily basis.
    Thanks,
    Mahi

    The probem you describe has been posted about before. There are known issues with the default dbms_stats parameter settings for some environements.
    What you can do is just go ahead an manually submit dbms_stats commands with appropriate parameters for tables that have not been analyzed or modify the maintenance window to give it more time.
    I would rather just generate the missing statistics myself then the job can continue to run in the normal maintenance window. Since the job should be looking only for tables that meet the stale requirements then once everything is analyzed it is likely the job can keep the statistics updated in the default time allowed.
    Be warned that the default parameter settings do not work well for some tables in some environments and if that proves true for your shop you can generate workable statistics on a table and then lock them so the nightly job ships regenerating the statistics for that table. You would then manually unlock, generate, and lock that statistics for that table as necessary.
    HTH -- Mark D Powell --

  • How can I find the schemas used in a database?  Any system table contains?

    How can I find the schemas used in a database? 
    Any system table contains?
    I would like to know sql statement (dictionary object name) which tells the all schema s in a database like dba_users.

    Hello,
    this SQL should help:
    db2 "select schemaname from syscat.schemata"

  • How can we find the most usage and lowest usage of table in Sql Server by T-SQL

    how can we find the most usage and lowest usage of table in Sql Server by T-SQL
    The table has time stamp column
    StartedOn datetime
    EndedOn datetime

    The Below query has been used , but the textdata column doesnot include the name of the table ServiceLog.
    SELECT
    FROM
    databasename,
    duration
    fn_trace_gettable('F:\Program
    Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Log\log_148.trc',
    default)
    WHERE
    DATABASENAME='ZTCFUTURE'
    AND TEXTDATA
    IS
    NOT
    NULL
    --AND TEXTDATA LIKE 'SERVICE%'
    order
    by cpu
    desc; 

  • How can we find the Idoc number which posts the material document in SAP

    Hi All,
    How can we find the Idoc number which posts the material document in SAP. We could not able to find the IDOC number from the material document which was posted by Idoc.
    Thanks
    Chandru

    Hi,
    In MIGO you can go to service of object(Just above show overview) and check 5th option workflow you will find the idoc number.
    regards
    suresh

  • How can i find the file to which Session Manager has saved my session ?

    How can I find the file to which Session Manager has saved my session ?
    == This happened ==
    Every time Firefox opened
    == User Agent ==
    Opera/9.80 (Windows NT 6.0; U; en) Presto/2.5.24 Version/10.53

    From
    http://support.apple.com/en-us/HT4946
    Where your backups are stored
    The folder where your backup data is stored depends on your computer's operating system. Make sure the backup folder is included in your data-backup routine. iTunes places the backup files in these places:
        Mac: ~/Library/Application Support/MobileSync/Backup/
        The "~" represents your Home folder. If you don't see Library in your Home folder, hold Option and click the Go menu.
        Windows Vista, Windows 7, and Windows 8: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
        To quickly access the AppData folder, click Start. In the search bar, type %appdata%, then press Return.
        Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
        To quickly access the Application Data folder, click Start, then choose Run. In the search bar, type %appdata%, then click OK.
    See here for how to backup
    Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support

Maybe you are looking for

  • Photos synch out of order

    Photos from some of my albums synch out of order when I upload them. How can I prevent this or else how can I fix the order on the iPod? The photos are numbered and should have stayed in order. (Most albums loaded in order - a few didn't.)

  • Sound over HDMI works halfway.[SOLVED]

    //After looking around, HDMI only sends the signals to turn down the HDMI connected device. I guess it's as good as it gets...// Using nVidia GT218 [ION] on Zotac Hd-id11. NVIDIA Driver Version: 260.19.44 2.6.37-ARCH //pianobar uses libao. My config,

  • Error trying to run Forms - ifcom60.dll

    After installing Forms 6i, I get the following error when I attempt to run Forms Builder: Error dialog titled "ifbld60.EXE - Ordinal Not Found" with the error message: "The ordinal 427 could not be located in the dynamic link library ifcom60.dll" Doe

  • Difference between join conditions using NVL and not using NVL

    Hi, I have a join condition in one of the applications as follows. NVL(RQ.out_mesg_id,0) = NVL(RS.out_mesg_id,0)How is it different without using NVL function. What is the internal execution difference. RQ.out_mesg_id = RS.out_mesg_idWill there be an

  • Partially Downloaded book

    I have downloaded a few books from iBooks and they arrive with parts missing. Receive the error message This page contains the following errors, error in line 1 column 1...etc. Any advice?