Export tables that only have data

how can i export all the tables that have data for a certain schema and exclude the tables that are empty?
version 10g

Well, I guess you can query user_tables and see where num_rows is zero for the tables to determine the tables. But, remember, you have to gather statistics in order to do this. But, then, still it may not be hundred percent right.

Similar Messages

  • In a FORM search box that i have data saved, how can I go and see what is saved and edit it?

    In a FORM search box that i have data saved, how can I go and see what is saved and edit it? Sometimes when I'm doing maintenance it all gets deleted and I would like to be able to see what I have saved before it gets deleted.

    Try this - Form History Control extension: <br />
    https://addons.mozilla.org/en-US/firefox/addon/12021/

  • Can I save PDF's in a form where text can be edited by people that only have Adobe reader ?

    If I have Adobe acrobat can I save PDF's in a form where text can be edited by people that only have the free version of Adobe reader ?
    If so do I need a prof verion of Acrobat to do this ?

    If I have Adobe acrobat can I save PDF's in a form where text can be edited by people that only have the free version of Adobe reader ?
    Yes.
    If so do I need a prof verion of Acrobat to do this ?
    No.

  • How to find table that store real data for field 'BETRG' ?

    1) datasource  0HR_PY_1 include field 'BETRG' in R/3 source system; extract structure HRMS_BIW_PY1 for datasource 0HR_PY_1, however structure is not used for stroing data. Question: how can we find table which store real data for the field  'BETRG'?
    2) If I want to add one type call department leader type which already defined in one enhanced HR table, to calculate the total amount using field 'BETRG'  according to department leader type. Should I enhance datasource  0HR_PY_1 by adding department leader type or create new view based on enhanced HR table and another table that include 'BETRG' data, also create new datasource based on this view later on?
    Thanks!

    Hi,
    Check this for Payroll Data (Transaction Data) 0HR_PY_1
    http://help.sap.com/saphelp_nw70/helpdata/EN/a5/94e8288eec11d4b2fb00010220c65f/frameset.htm
    The extractor for payroll results reads data from payroll cluster PCL2, not from standard tables.
    thanks,
    JituK

  • Using FGA in Oracle 9i on tables that store XML data

    Hello,
    Our company wishes to use FGA policies to log transaction data for updates that take place in our software (Web based software using Oracle 9i Enterprise Edition (9.2.0.6.0))
    This is working just great for logging transaction information on all of our tables except for those that hold XML data. It seems that the XML code is causing an error as it attempts to write in to an audit entry. I have requested information on the specific errors that are being generated, and do not have the exact messages to post yet - but I was hoping that someone out here could comment on FGA and XML data logging, if this is even possible in 9i, or if particular add-ons or updates may need to be made to the database before this can be expected to function as desired.
    Thank you in advance,
    Sabrina Goodpaster
    Database / Configuration Management Specialist
    ENVISAGE Technologies, Corp.
    1441 S. Fenbrook Lane
    Bloomington, IN 47401

    Is the intent to audit tables containing XML or to audit changes to the XML? There is a huge difference.
    Also, working in software as older than my car isn't helping you. How about applying a few patches or upgrading to something supported?

  • How do I export photos that I have saved from face book on my ipad to my macbook pro

                   How do I move or export,sync. photos that I have saved on my Ipad to my macbook pro.

    Maybe someone from apple or face book will read this someday and they will tell us how  

  • SRM table that store PO data

    Hi,
    what is the table name for a table in SRM that stores PO data.
    Thanks in advance

    in SRM too many tables contain SC, PO, invoice etc...
    each one having a GUID... tables with H are header tables and I are item tables.
    what exactly you need?
    check CRMD_ORDERADM_H (I - item) , BBP_PD* etc tables..

  • Can't publish with Presenter7, only have data folder

    I was publishing a .PPT file with Presenter7, but after publishing, only "data" folder could be found in publish folder, no other files, like .htm, XML, swf...
    How could I solve this problem?
    Thanks!
    Judy

    Hello Judy,
    Have you tested Presenter 7.0.7 version ?
    7.0.7 is the latest version for Presenter 7, it includes solution of some known issues.
    You can download Presenter 7.0.7 from this page :
    http://www.adobe.com/support/downloads/product.jsp?product=153&platform=Windows
    Uninstall Presenter 7 and then install Presenter 7.0.7
    Thanks
    Vikram

  • How do I tally values that only have a ticked Check Box next to them?

    Hi Folks,
    I'm new to Acrobat forms and have recently finished a complicated 7 page form for a client and I am quite pleased with it.
    But the client has come back with the following request:
    They want Check Boxes next to a series of values and, when a Check Box is ticked, it only adds that ticked value. To show what I mean, please see the below image.
    So basically, there is a field on the left-hand side (Current Monthly Repayments) that tallies all the values - in my example this totals $50.00. Then, there is a field on the right-hand side (Future Monthly Repayments) that needs to tally only the values that have a ticked "Yes" Check Box next to them. In my example, this would produce a tally of $20.00.
    Does anyone know how this could be done?
    Thank you

    Yes, that's perfect. Try the following custom calculation script:
    // Custom calculation script for future monthly repayments field
    (function () {
         // Initialize variables
         var i, cb, v, sum = 0;
         // Loop through each row and add repayment value if Yes is checked
        for (i = 1; i < 7; i += 1) {
            // Get the value of the check box
            cb = getField("CashFlowCheck" + i).valueAsString;
            // Get the value of the repayment field, as a number
            v = +getField("CashFlow" + i).value;
            // Add the value to the sum if the check box is checked
            if (cb === "Yes") {
                sum += v;
        // Set this field's value to the sum, rounded to the nearest cent
        event.value = util.printf("%.2f", sum);

  • I have songs that I purchased that only have half the song, how can I fix that?

    I purchased the Blue Slide Park album, and the song "Diamonds and Gold" only plays for 37 seconds.  How can I fix this without having to purchase the song again?

    Im having the same issue... so I delete the song that im having issues with from my music-song list or from the computer, both? then go to purchsed and redownload...?

  • *Urgent*How to insert data from MS SQL to the table that create at the adobe form?

    Hi,
    I'm using Adobe life cycle designer 8 to do my interactive form. I would like to ask how to insert data from MS SQL to the table that i have created in my adobe interactive form?
    I really need the information ASAP as i need to hand in my project by next week... i really appreciate any one who reply this post.
    Thanks

    Tou need to do a couple of things
    1. On the Essbase server, set up an odbc system connection to your MySQL database
    2. In the load rule , go to the file menu and select open SQL data source and in the data source put in your SQL statement . A couple of hints. Where it says Select, don't put in the word select and where it say from don't put in from. The system adds them for you. The easiest way ti enter a SQL statement is to do it all in the select area So if your SQL would normanlly say select * from mytable just enter the code as * from mytable in the select area
    The click ol/retrieve and enter in your connection info. Itshould bring data back into the load rule. Save the load rule and use it

  • JOIN 2 tables that have same column ?

    I need to learn how to join two tables that both have the same column name:
    tbl1 - idskey
    tbl2 - idskey
    the idskey column holds a id_number
    When I do the JOIN I would like to make sure that only Distinct records are joined from both tables and that any duplicates are removed in the final join. So if:
    Tbl1 has a idskey of: 12345
    and
    Tbl2 has a idskey of: 12345
    In the final JOIN I want to remove one of those duplicates.
    I actually need to join 3 tables that have the same linking column names for the join, but if I learn how to do this correctly on 2, that will be a start.
    10g for db, thanks!

    Hi,
    SELECT DISTINCT and GROUP BY are the most common ways to get unique results from non-unique keys. Exactly how you use them depends on exactly what you want to do.
    SELECT DISTINCT guarantees that no two rows in the result set, conisdering all columns, will be identical.
    GROUP BY produces one row from a set of rows that have a common feature. The values on that row may be a composite of values from various rows in that set (e.g., an average).
    Please post a small, specific example. For instance:
    "I have two rows in tbl1 ...
    and these fhtee rows in tbl2 ...
    Notice how there is one row with idskey=12345 in tbl1 but two such rows in tbl2.
    How can I get theses results ...
    where only one row has idskey=12345?"

  • Export table structure in datapump

    Hi,
    Oracle Version : 10.2.0.1 and 11.2.0.1
    Operating system:Linux
    I need an help regarding to export only the table structure in 10g.
    In 11g when i tried to export table structure for the tables which starts with ST_LO_% it works fine and here is the output for that export statement.
    [oracle@vtlsys2-209 dbdump]$ expdp CNGSTORES_TEST_DEC1610/CNGSTORES_TEST_DEC1610 directory=dbdump dumpfile=chala_feb2111.dmp logfile=chala_feb2111.log tables="ST_IL_%","ST_LO_%","SCM%","ARCH%" exclude=statistics,grants job_name=tablesfil parallel=4 version=10.2  content=metadata_only
    Export: Release 11.2.0.1.0 - Production on Mon Feb 21 14:34:16 2011
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    UDE-01017: operation generated ORACLE error 1017
    ORA-01017: invalid username/password; logon denied
    Username: cngstores_test_dec1610/cngstores_test_dec1610
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Starting "CNGSTORES_TEST_DEC1610"."TABLESFIL":  cngstores_test_dec1610/******** directory=dbdump dumpfile=chala_feb2111.dmp logfile=chala_feb2111.log tables=ST_IL_%,ST_LO_%,SCM%,ARCH% exclude=statistics,grants job_name=tablesfil parallel=4 version=10.2 content=metadata_only
    Processing object type TABLE_EXPORT/TABLE/TABLE
    Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type TABLE_EXPORT/TABLE/COMMENT
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type TABLE_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
    Master table "CNGSTORES_TEST_DEC1610"."TABLESFIL" successfully loaded/unloaded
    Dump file set for CNGSTORES_TEST_DEC1610.TABLESFIL is:
      /u05/dbdump/chala_feb2111.dmp
    Job "CNGSTORES_TEST_DEC1610"."TABLESFIL" successfully completed at 14:34:37But when i tried in 10g it is throwing errors and below is the export script.
    [oracle@VTL1253AD dbdump]$  expdp aa_test/aa_test directory=dbdump dumpfile=st_LO_IL_EMPTYTABLES.dmp logfile=st_LO_IL_EMPTYTABLES.log content=metadata_only job_name=aa_empty tables="ST_LO_%","ST_IL_%"
    Export: Release 10.2.0.1.0 - Production on Monday, 21 February, 2011 14:03:18
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Starting "AA_TEST"."AA_EMPTY":  aa_test/******** directory=dbdump dumpfile=st_LO_IL_EMPTYTABLES.dmp logfile=st_LO_IL_EMPTYTABLES.log content=metadata_only job_name=aa_empty tables=ST_LO_%,ST_IL_%
    ORA-39166: Object ST_IL_% was not found.
    ORA-39166: Object ST_LO_% was not found.
    ORA-31655: no data or metadata objects selected for job
    Job "AA_TEST"."AA_EMPTY" completed with 3 error(s) at 14:03:24Can any one please help me how to export table structure that are starting with ST_LO_% and ST_IL_%.
    Please help me.
    Thanks & Regards,
    Poorna Prasad.S

    Hi N Gasparotto ,
    Thanks for your quick replay .
    Here when i use to export tables ST_LO% in the include parameter it is working fine .
    [oracle@VTL1253AD ~]$ expdp aa_test/aa_test directory=dbdump dumpfile=aa_test_feb2111_st_loil.dmp logfile=aa_test_feb2111_st_LO.log   parallel=4 job_name=aa_test1 content=metadata_only include=table:\"like \'ST_LO_%\'\"
    Export: Release 10.2.0.1.0 - Production on Monday, 21 February, 2011 15:10:30
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Starting "AA_TEST"."AA_TEST1":  aa_test/******** directory=dbdump dumpfile=aa_test_feb2111_st_loil.dmp logfile=aa_test_feb2111_st_LO.log parallel=4 job_name=aa_test1 content=metadata_only include=table:"like 'ST_LO_%'"
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type SCHEMA_EXPORT/TABLE/COMMENT
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMAP/INDEX_STATISTICS
    Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    Master table "AA_TEST"."AA_TEST1" successfully loaded/unloaded
    Dump file set for AA_TEST.AA_TEST1 is:
      /u04/dbdump/aa_test_feb2111_st_loil.dmp
    Job "AA_TEST"."AA_TEST1" successfully completed at 15:10:39but when i tried to export tables that start ST_LO_% and ST_IL_% the export is failing.
    [oracle@VTL1253AD ~]$ expdp aa_test/aa_test directory=dbdump dumpfile=aa_test_feb2111_st_loil.dmp logfile=aa_test_feb2111_st_LO.log   parallel=4 job_name=aa_test1 content=metadata_only include=table:\"like \'ST_LO_%\'\",table:\"like \'ST_IL_%\'\"
    Export: Release 10.2.0.1.0 - Production on Monday, 21 February, 2011 15:07:35
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Starting "AA_TEST"."AA_TEST1":  aa_test/******** directory=dbdump dumpfile=aa_test_feb2111_st_loil.dmp logfile=aa_test_feb2111_st_LO.log parallel=4 job_name=aa_test1 content=metadata_only include=table:"like 'ST_LO_%'",table:"like 'ST_IL_%'"
    ORA-39168: Object path TABLE was not found.
    ORA-31655: no data or metadata objects selected for job
    Job "AA_TEST"."AA_TEST1" completed with 2 error(s) at 15:07:41
    [oracle@VTL1253AD ~]$ expdp aa_test/aa_test directory=dbdump dumpfile=aa_test_feb2111_st_loil.dmp logfile=aa_test_feb2111_st_LO.log   parallel=4 job_name=aa_test1 content=metadata_only include=table:\"like \'ST_LO_%\',\'ST_IL_%\'\"
    Export: Release 10.2.0.1.0 - Production on Monday, 21 February, 2011 15:08:56
    Copyright (c) 2003, 2005, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORA-39001: invalid argument value
    ORA-39071: Value for INCLUDE is badly formed.
    ORA-00933: SQL command not properly endedCan you please help me what was the mistake i am doing in my export script when trying to export ST_LO_%,ST_IL_%.
    Regards,
    Poorna Prasad.S

  • Unable to Drop table from a corrupted Data Block

    while exporting tables i got message data block corrupted 7481. and while i was trying to drop the table, found SQL Recursive Error.
    Pls Help me. i am on the way to recreate my database..
    Thanks
    Rinson

    Is 7481 the block number?. Block corruption can be diagnosed using the CLI (Command Line Interface) dbv (database verify). You can also diagnose it by looking for the corresponding error message in the alert.log.
    Trying to recover data from a corrupt block is only possible using rman. Otherwise, the only thing you can do is to mark the block as corrupt using DBMS_REPAIR, rebuild the table and try to rescue data by recapturing it.

  • Tables that I need to check after the installation of OIM11G server

    Hi All,
    I just wanted to know what are all the tables that I have to check if my database is correctly configured for OIM11G or not. I configured my design console to the server that was installed at client environment. Everything looks fine except some issue with the form designer. If I try to save by giving the Table Name and Description I am getting the following error. I am able to login to the database through SQL Developer and able to create tables with the database user id which I used while installing OIM.
    This is the error while creating the form
    Error Keyword: DAE.DB_READ_FAILED
    Description: Could not execute database read. The database encountered a problem with the specified SQL query.
    Remedy: Check the database query. Contact your system adminstrator.
    Action: E
    Severity: H
    Help URL:
    Detail:
    com.thortech.xl.orb.dataaccess.tcDataAccessException: DB_READ_FAILEDDetail: SQL: select err_key, err_code, err_desc, err_rowver, err_remedy, err_count, err_last_occurance, err_action, err_help_url, err_severity from err where err_code='DOBJ.GET_INSERT_PERMISSION_FAILED'Description: Got a null connectionSQL State: Vendor Code: 0Additional Debug Info:com.thortech.xl.orb.dataaccess.tcDataAccessException
    I logged in as XELSYSADM. and the group System Administrator has all the permissions ALLOW INSERT, WRITE ACCESS, DELETE ACCESS to the following permissions.
    1.Form Information
    2.Form Designer
    3.Form.Lookup Definition
    Wanted to know if my database is correct and all the scripts were run while installing the OIM Server.
    can you help me to check if there is something to check at my database/ table space/tables?
    This is w.r.t the problem I am facing.
    Unable to Create/Update Forms in design console(OIM11G)

    Hi Venu,
    1-You are able to download OIM Data Dictionary by Oracle metalink and check it:
    go to all sources |search button on Oracle metalink.
    1.1-Xellerate/OIM 9.x Data Dictionary [ID 377992.1]
    1.2- OIM 11.1.1.3.0 Data Dictionary [ID 1164914.1]
    Thru it you can check all entities, atributes, keys, views and relationships of OIM Data Model.
    2-You follow all steps below, right?
    http://download.oracle.com/docs/cd/E14571_01/install.1111/e10033/before.htm#BABEGHAC
    I hope this help.
    THiago Leoncio Guimaraes

Maybe you are looking for