exp/imp only a few records in the table

Hello
Exp/imp few records in my table during the activity level exp/imp table is possible?
If so, what setting should I be using
For example,.
I have 10000 records in my narration of the table "TEST_TB".
I have the dump full exp for the table.
But I want to just imp only 50000 records from the same table in another schema.
How would it be possible?
Please suggest me on this

Kind regards
Faiz

Hello

It seems not possible to limit the number of rows that is imported, but it is possible to limit the number of rows exported with the query parameter, found examples
http://www.orafaq.com/wiki/Import_Export_FAQ
http://docs.Oracle.com/CD/B28359_01/server.111/b28319/exp_imp.htm#autoId52

HtH
Johan

Tags: Database

Similar Questions

  • D110A printer not print correctly. Printer says "printing" but only a few characters on the homepage

    D110A printer not print correctly. Printer says "printing" but only a few characters on the homepage

    Hi amjo_2005,

    How the printer is connected to the device?

    What device you are trying to print from?

    What program you are trying to print from?

  • How can I recover only odd or even number of records in the table?

    Hello

    How can I recover only odd or even number of records in the table?

    Thank you

    Hi IndiMinds,

    Alternatively, you can use in queries. :

    Odd:

    SELECT *.

    Of

    (SELECT rownum row_count, id, name FROM bigemp

    )

    WHERE mod (row_count, 2) = 1;

    Still:

    SELECT *.

    Of

    (SELECT rownum row_count, id, name FROM bigemp

    )

    WHERE mod (row_count, 2) = 0;

    Thank you

  • Validate values inserted into a table against an another record in the table.

    Hi, I have this two tables on my Oracle Database 10g:
            Status                                    
    
    Id_Status | Description        
    --------------------------------       
      102     |   Ok                 
      123     |   Damaged 
      345     |   Broken
    
    Cars
    
    Car_ID|  wheel  |  hood  |  bumper  |  radiator
    -------------------------------------------------
      1   |   1     |     2  |     2    |   3
    and what I have to do is to make sure that you can only insert a record if the [wheel, hood, bumper, radiator etc...] values are values that already exist in the State of the table, but I do not know if you add FK as:
    ALTER TABLE "RCVRY"."COMPANY" 
        ADD (CONSTRAINT "CITY_ID" FOREIGN KEY("STATE") 
        REFERENCES "RCVRY"."CITIES"("STATE")
    is the right way to do it.

    If anyone can help by providing code samples or pointing to the right place in the documentation to look out it will be greatly appreciated.
    Concerning

    JMHP

    Hello

    José M. Hurtado says:
    Hi, I have this two tables on my Oracle Database 10g:

    Status                                    
    
    Id_Status | Description
    --------------------------------
    102     |   Ok
    123     |   Damaged
    345     |   Broken
    
    Cars
    
    Car_ID|  wheel  |  hood  |  bumper  |  radiator
    -------------------------------------------------
    1   |   1     |     2  |     2    |   3
    

    and what I have to do is to make sure that you can only insert a record if the [wheel, hood, bumper, radiator etc...] values are values that already exist in the State of the table, but I do not know if you add FK as:

    ALTER TABLE "RCVRY"."COMPANY"
    ADD (CONSTRAINT "CITY_ID" FOREIGN KEY("STATE")
    REFERENCES "RCVRY"."CITIES"("STATE")
    

    is the right way to do it.

    Yes, foreign keys are the right way to do it.
    Make sure that first of all, there is a constraint of PRIMARY KEY (or UNIQUE) on status.id_status.

    If anyone can help by providing code samples or pointing to the right place in the documentation to look out it will be greatly appreciated.

    The code you have posted has an imbalance ' (' between ADD and CONSTRAINT.) Lose that ' (' and you have the right syntax.)
    Double quotes are necessary only if you use non-standard names. Do not.
    The schema name (RCVRY in the above example) is optional.

    So, you could say:

    ALTER TABLE     cars
    ADD CONSTRAINT     cars_wheel_fk
    FOREIGN KEY     (wheel)
    REFERENCES     status (id_status)
    ;
    

    I hope that answers your question.
    If this is not the case, after a test script.
    Publish instructions CREATE TABLE for tables and ALTER TABLE instructions for constraints (if they are not part of the CREATE TABLE statements).
    Let's just do the constraint on wheel first. Once you know how to do this, add similar constraints for the other columns (radiator, hood, bumper,) will be easy.
    After a series of INSERT statements (and update, if you want) for the two tables, which must be executed in order.
    Say if you want as each INSERT (or UPDATE) statement of work or not. (Include a few of them).

    Published by: Frank Kulash, December 7, 2010 19:15

  • Add new records to the table of the ADF

    Hello

    I use Jdev 11.1.1.3.0.
    I have a Page of the ADF with detail Table of form - master, I want to add new records to the table reflecting in DB. Is it possible to do? pointers or demo?


    Thank you
    MB

    What are the components are used in your table? When you created the table originally, you specified as a table read-only? If your table contains components of af: outputText, then you will need either manually change components entry way, or remove the table and re-drop-the-in the form of table (not read-only)

    John

  • Form check synchronize on Popup to the selected record from the table

    I'm trying to recreate what I did on the portals of the OAS in Weblogic/ADF. I have JDeveloper 11.1.1.2.0. What I do seems to be a little different than the tutorials: I need something like the tutorial master-detail, but instead the details appearing on the same page, it should appear in a popup. I managed to build the part table/popup. But when the popup appears, it displays the wrong record. Here are the steps I used to create this page:

    After you create the ADF Fusion Middleware project:

    1 create templates for the tables I need.
    2. create the JSF Page.
    3 drop panelCollection on the page.
    4. remove my data to see in panelCollection control and choose the Table read-only ADF. Select the sorting and selection options.
    5 change table properties: selected = DisplayRow, EditingMode = clickToEdit
    6 drag the Popup on the page.
    7. remove my data from view in popup control and choose the form of the ADF. Select the send option.
    8 drop showPopupBehavior on the page. Name of the popup. The value triggerType to the 'selection '. (triggerType "click" works, too)
    9 deploy.

    The table is displayed. I click on a line. The pop-up window appears. The form of popup displays the first record in the table. I click on any line.

    I just bought the merger Oracle 11g Developer Guide, but were not able to answer this question yet.

    Any ideas?

    Thank you.

    See this video for how it works for me:
    http://www.ScreenToaster.com/watch/stWUtcRkVLQ1BcSV1aX15Q

  • Not able to read the values in group by, when no records in the table

    Hi all, I have this query

    Select p.header_id,

    Type "some_constant."

    sum (nvl (p.total_amount, 0)) sum_of

    from table_name p

    P.header_id group

    When there is record in the table, it works fine, but I want to if there is no any folder that it returns as below,

    header_id type sum_of

    some_constant 0 0

    How to...?

    Help, please.

    Kind regards

    SELECT * FROM (select p.header_id,

    Type "some_constant."

    sum (nvl (p.total_amount, 0)) sum_of

    from table_name p

    P.header_id group

    UNION ALL

    SELECT 0,

    BOX WHEN (SELECT COUNT (*) FROM table_name) = 0 THEN type of 'some_constant',

    ANOTHER NULL

    END type as,

    0

    THE DOUBLE)

    WHERE type IS NOT NULL;

    Post edited by: 000000

  • Total number of records in the table read

    Here is the procedure to read total no of record in the table specified by the user during execution. But it still gives the same answer for all the table. Can someone help me?

    create or replace procedure p3 (varchar2, not on the number tab)
    as
    Start
    Select count (*) from no tab;
    end;

    You need dynamic SQL statements.

    Or:
    http://laurentschneider.com/wordpress/2007/04/how-do-i-store-the-counts-of-all-tables.html
    To get the name of the Table and no lines
    http://asktom.Oracle.com/pls/asktom/f?p=100:11:1725645184471282:P11_QUESTION_ID:1660875645686

    Or simply use the data dictionary, collect statistics of the table, then:
    Select table_name, num_rows from user_tables;

  • How to find inserted last record in the table.

    Version: Oracle 10g

    I have a table called 'Manufacturing' and 3 columns as mfno, itemname, quantity.
    How to find inserted last record in the table 'manufacturing '.

    As I got to know that the Rowid is not a result perfect result. Please provide your inputs.

    user13416294 wrote:
    Version: Oracle 10g

    This is not a version. It's a product name. A version is 10.1.0.2 or 10.2.0.4, etc.

    I have a table called 'Manufacturing' and 3 columns as mfno, itemname, quantity.
    How to find inserted last record in the table 'manufacturing '.

    Not possible as your data model do not answer for him. As simple as that.

    If there is a need to determine an order or associate some time to an entity, then that should be part of the data model - and a relationship, or one or several attributes are necessary to represent this information. Your data model in this case is therefore unable to meet your requirements.

    If the requirements are valid, set the data model. In other words - your question has nothing to do with Oracle and nothing to do with the other pseudo columns in Oracle, the rowscn or the rowid. It is a question of pure data modeling. Nothing more.

  • Create record in the Table of results gives error

    Hi all

    Update page there is a table of results with the Add button to create a new line.

    Everything by creating a new record on the table of results gives an error

    The attributes defined for AccessId in the view object xxlcupdvariablesvo1 failed

    I checked the EO and VO attributes, everything seems to be good.
    Updatable also has the value "Always".


    Still don't know why this error is coming.

    Please help resolve this error.


    Thank you
    SK

    SK

    Don't forget that your AO made correctly and you do your from VO of the two OS after this AO. If possible, allow Jdev to create your AO. Try to create is not in manuallly

    Hope it solves your problem

    Thank you
    AJ

  • Delete only a few files from the recent open those

    I would like to delete some files in the recently opened files only leaving the most used in the list, that is, I don't want to delete all the files in the list, the only option I have in the menu. I managed to do that but can't remember how I did. I use PS CC 2015.1.2.

    Do not delete the files; Move them to another location. Then, click on the files in the list of recent files. Photoshop will not find files and removes them from the list.

    You can then return the files to their original location.

    There is no other way to selectively remove the files in the list.

  • A record in the table is not approved

    We have a PS4100x Equallogic in production. A few days ago one of the drives has failed and we ordered an original Dell HDD for this device. When we replaced the damaged for a new, the console says that the disc is not approved.

    We checked the documentation and cannot find that this happens when there are questions of firmware when the drives are not original (who from not Dell) and not alike.

    The other thing is that when I try to add to the table, the "Add table" option is gray out.

    Any help would be grateful, thank you!

    Hello stamac,.

    I'm sorry, but only Dell Equallogic brand work readers in a table EQL.  It is custom firmware on the drive on which the search table.   There is no work around for this.

    Kind regards

    Don

  • Purge of the records of the Table and the size of the data file

    11.2.0.4/Oracle Linux 6.4

    We want to reduce the size of the DB (file size of data), so that our RMAN backup size will be reduced. So, let's create stored procedures that will purge old data in huge tables.

    After you remove records, we will decrease the tables using the:

    change the movement line of table ITEM_MASTER enable;

    change the waterfall table retractable ITEM_MASTER space;

    ALTER table ITEM_MASTER deallocate unused;

    The commands above will reduce the file size of data (see dba_Data_files.bytes) or it will reduce the size of the segment?

    Only the segment formats will be reduced.  Oracle has never reduced the sizes of data file automatically.  You would have to reduce them.  You may not be able to reduce the size of data file if there are extensions to the 'end' (highwatermark) data files.  In this case, you will need to create a new tablespace and move all the objects for the new tablespace OR export, drop, create tablespace and import.

    Hemant K Collette

  • Update the records in the table

    I have an INCOME_LOT table. Now, I need to update records with the current max (lot_id) + rownum where lot_id = 0.
    Note: There are multiple records with lot_id = 0.

    CREATE TABLE INCOME_LOT
    (
    LOT_ID NUMBER OF NON-NULL,
    NUMBER OF DETAIL_ID
    DATE OF EFFECTIVE_DATE,
    DATE OF UPDATE_DATE
    )
    It is only a sample data of 4 records, while in fact, I have millions of records to be updated.

    Insert into INCOME_LOT
    (LOT_ID, DETAIL_ID, EFFECTIVE_DATE, UPDATE_DATE)
    Values
    (0, 5773490, TO_DATE (MAY 5, 2014 00:00:00 ',' DD/MM/YYYY HH24:MI:SS'), TO_DATE (MAY 6, 2014 00:22:40 ',' DD/MM/YYYY HH24:MI:SS'));))
    Insert into INCOME_LOT
    (LOT_ID, DETAIL_ID, EFFECTIVE_DATE, UPDATE_DATE)
    Values
    (0, 5773491, TO_DATE (MAY 5, 2014 00:00:00 ',' DD/MM/YYYY HH24:MI:SS'), TO_DATE (MAY 6, 2014 00:22:40 ',' DD/MM/YYYY HH24:MI:SS'));))
    Insert into INCOME_LOT
    (LOT_ID, DETAIL_ID, EFFECTIVE_DATE, UPDATE_DATE)
    Values
    (0, 5773492, TO_DATE (MAY 5, 2014 00:00:00 ',' DD/MM/YYYY HH24:MI:SS'), TO_DATE (MAY 6, 2014 00:22:40 ',' DD/MM/YYYY HH24:MI:SS'));))
    Insert into INCOME_LOT
    (LOT_ID, DETAIL_ID, EFFECTIVE_DATE, UPDATE_DATE)
    Values
    (0, 5773493, TO_DATE (MAY 5, 2014 00:00:00 ',' DD/MM/YYYY HH24:MI:SS'), TO_DATE (MAY 6, 2014 00:22:41 ',' DD/MM/YYYY HH24:MI:SS'));))
    COMMIT;

    Can someone help me to update all records with a single SQL query or maybe a PL/SQL block? I could design a cursor to update, but it would be tedious to use.

    Do you want this:

    UPDATE INCOME_LOT

    Set lot_id = 262696 + ROWNUM

    WHERE lot_id = 0;

  • Define a field read-only under certain conditions in the table of the ADF

    Hi friends,
    I'm new to ADF. I created a page basic jsf and display of data from the countries in the table. I also have the createInsert and validation on the page buttons. When I click on create to insert a new record is created, and I am able to enter and save it with success. However, I want the records already entered to be read-only.

    Essentially, I want the user to enter details only by inserting the new record. Existing records or registered once newly created records should not be editable. I tried some things in the expression builder of the attribute read-only for the field, but this deos not work. Can anyone help me please with this.

    Thank you

    Using ADF BC?
    If so, check http://mjabr.wordpress.com/2011/07/15/control-row-updatability-part-2/

Maybe you are looking for