How to give filter condition in expdp to filter parent and child records?

Hi,
I have a requirement of export schema. Assume there is a account details table and account transactions table under schema.They have parent child relation exist. if i filter accounts from account details the corresponding transactions in account transactions table should be filterd.How to achieve this?
Regards,
Venkat Vadlamudi
Mobile:9850499800

Try with USER_DEPENDIENCIES
select * from user_dependencies

Similar Messages

  • How to delete parent and child records?

    Hi friends,
    I have a Master table and a child table.
    The Child table got reference key with the master table without on delete cascade.
    Now, I want to delete the Master records and also it's corresponding child records.
    How to do?
    Thanks in adv,
    regards,
    Vijay

    Delete the records from the child, then delete the records from the parent in two separate delete statements. I'd prefer that you create a stored procedure that does both steps.
    Justin

  • How to delete parent and child records together ?

    Hi,
    I'm using Jdeveloper 11.1.2.2
    I want to delete a row from a table but it is showing: Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-02292: integrity constraint (TABLE1_TL_FK1) violated - child record found.So how can I delete a Child row and table row in one method ?
    I cannot access the child's VO because it is not added to the AM.
    Thanks,
    Nigel.

    John, as usually, is right with the pointer to the documentation he pasted. Just to make sure you read it carefully, let me hoghlight an important point here:
    "If the option is selected, then the composed entities do not perform the DELETE statement *on the assumption that the database ON DELETE CASCADE constraint will handle the deletion of the corresponding rows*."
    So make sure the database is setup for cascade delete as otherwise you still will not succeed
    Frank

  • How to filter parent and child tables data in impdp?

    Hi Friends,
    i hope everyone doing good..
    I have two tables in my schema like below.
    STUDENT_DTLS:-
    SID Sname CID
    1     venkat     001
    2     uppy     002
    3     deepu     003
    4     trinath     003
    5     naveen     004
    6     ramesh     005
    COURSE_DTLS:-
    CID CNAME Fee
    001     Oracle     2000
    002     java     6000
    003     sieble     4000
    004     informatica     3000
    005     obiee 4000
    if I load only few Student details say sid=1,2,3 into another environment using impdp,corresponding to those students course details from COURSE_DTLS table only need to be loaded.Not all course details.
    Iam Expecting Result in new schema as below:-
    SID Sname CID
    1     venkat     001
    2     uppy     002
    3     deepu     003
    CID CNAME Fee
    001     Oracle     2000
    002     java     6000
    003     sieble     4000
    But when i am using the below import scrit,The COURSE_DTLS is loading first and its query option(select cid from STUDENT_DTLS) is returning no rows.Because at that time no data is insertred into STUDENT_DTLS yet.
    secondly it is importing data into STUDENT_DTLS with query option where sid=in (1,2,3) which is loaded propelry.
    Thirdly it is trying to enable primary key and Foreign key constraints which is also failing because of no data in COURSE_DTLS table.
    i have changed the order of tables in TABLES clause like tables=COURSE_DTLS ,STUDENT_DTLS.But still COURSE_DTLS table is loading first.
    impdp pa_data_sub/******* NETWORK_LINK=qdssih30 tables=STUDENT_DTLS,COURSE_DTLS query='STUDENT_DTLS:"where SID IN(1,2,3)"','COURSE_DTLS:"where cid in(select cid from STUDENT_DTLS)"', CONTENT=all table_exists_action=replace directory=DATA_PUMP_DIR logfile=exp_join.log
    output:
    Total estimation using BLOCKS method: 128 KB
    Processing object type TABLE_EXPORT/TABLE/TABLE
    . . imported "PA_DATA_SUB"."COURSE_DTLS" 0 rows
    . . imported "PA_DATA_SUB"."STUDENT_DTLS" 3 rows
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    ORA-39083: Object type REF_CONSTRAINT failed to create with error:
    ORA-02298: cannot validate (PA_DATA_SUB.SYS_C0040905) - parent keys not found
    Failing sql is:
    ALTER TABLE "PA_DATA_SUB"."STUDENT_DTLS" ADD FOREIGN KEY ("CID") REFERENCES "PA_DATA_SUB"."COURSE_DTLS" ("CID") ENABLE
    Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    Job "PA_DATA_SUB"."SYS_IMPORT_TABLE_01" completed with 1 error(s) at 17:28:13
    Please suggest me how to achieve this task in a single import command?
    Is there any option in impdp to prioritize the table to be loaded first?
    Thanks,
    Venkat Vadlamudi

    You can't be guaranteed which order the data will be loaded in, so using a query that examines a table that is being imported is not going to always work the way you want it. The failing constraints makes sense because there is no data.
    So, in your case, course_dtls gets imported first and the table student-dtls exists, but it not populated yet, so the select cid from student_dtls comes back with 0 rows. The second query works fine.
    You might be able to change the query to be:
    'COURSE_DTLS:"where cid in(select cid from STUDENT_DTLS@qdssih30 where SID IN(1,2,3)"'
    This way, you query the source table pointed to by the network link and you use the same subquery from the first table.
    This should work for you... I think anyway.
    Dean

  • Does anyone know how the cutout filter works and is there a way of achieving the same effect without using filters to get more control over final look?

    does anyone know how the cutout filter works and is there a way of achieving the same effect without using filters to get more control over final look?

    Several ways to get similar results.  Image > Adjustments > Posturize with low values similar to what you'd use n Cutout.  This is the most flexible way I can think of as you keep the image in RGB mode with layers intact.  A more radical approach would be to reduce bit depth using Indexed Colour.  You'll need to experiment with settings, try changing Forced to Primaries, and Matte to Foreground Color.  There's no going back from this route, although you can change the mode back to RGB to re-enable layers, adjustment layers etc.
    A nice thing about the Filter gallery filters is that you can change the layer to a Smart object with all the control that gives you.
    Now if only this forum could filter out bizarre content.

  • How to differentiate between Parent and Child in IBASE?

    Hi. I am working on enhancing a BAPI :BAPI_GOODSMVT_CREATE by calling the following function module IBPP_CREATE_IBASE at its exit.
    The BAPI is being called from an SAP ME system and will be passing MATNR and Serial Number of Parent and Child materials to create the IBASE in ECC system. I am confused as to how to differentiate between whether a object is Parent or a Child when the BAPI: BAPI_GOODSMVT_CREATE is called.

    if you have NULL valued fields. If
    you do a compare and one or both are NULL, then the result is always NULL,
    never true or false. Even comparing two fields which are both NULL will
    give NULL as result, not true! Or if you have something like "select
    sum(field) from ..." and one or more are NULL, then the result will be
    NULL. Use always "if field is NULL ..." for NULL checking and for safety
    maybe something like "select sum( IsNull(field,0) ) from ...". Check the
    function ISNULL() in the manual.

  • Filter on Child attributes | Dispalying Parent and Child VO's in Single table

    Hi All,
    I am using JDev 12c.
    I have a requirement to show to both Parent(Department) attributes and Child(Employee) attributes in single table in jsf page, which I was successfully able to do. I followed the below approach to do.
    <af:column headerText="Productclass" filterable="true" id="c21">
                                        <f:facet name="filter">
                                                <af:inputText label="Label 1" id="it10" simple="true"/>
                                            </f:facet>
                                                <af:iterator id="i9" rows="25" value="#{row.EmployeeVO}" var="viewrow">
                                                    <af:outputText value="#{viewrow.EnployeeId}" id="ot22"/>
                                                </af:iterator>
                                        </af:column>
    I need to show filter on this column attribute. I have no clue how to execute filter/query on child attributes.
    Please suggest me on this.
    thanks,
    Veeresh

    Hi Ashish,
    My Requirement is to fetch Data from 2 database Views, probably more than 10 columns from Each view and display in a single table.
    There is performance problem, when I am trying to join these 2 views using right outer join. Performance is pretty good when use View Link accessor to link these 2 views and display data in single table. This is fine with this approach.
    Now here, the only problem is to provide filter on the column.
    Any pointers on this.
    thanks,
    Veeresh

  • Delivery document how to print the BOM Parent and Child items

    Hi,
    I have a production BOM. In Delivery document how to print the Parent and Child items Item Code and Qty.At the time
    of add a delivery document Inventory stock redused only in Parent Item not child item because child item stock already reduced in issue for production.

    If you need to print both the BOM Parent and Child items, you have to create your own report. BOM is only for production if it is not Sales type.
    Thanks,
    Gordon

  • How to link parent and child relation in Metapedia

    How to link parent and child relation in Metapedia

    Vamsi,
    Did you every determine how to do what you were asking about? Where you thinking of how to link a parent term to a child term (i.e. like a related term) or was this about linking a term to a different metadata object (e.g. table or report) ?

  • How to use Opendoc to link parent and child

    I have parent and child reports, I want to link them. When I click parent id then it should display child report.
    How to use Opendoc for this?
    Thanks,
    Charita

    You can use openDoc selection variable method for link the reports.
    Refer this link
    http://book.soundonair.ru/sams/ch31lev1sec2.html#PLID2

  • How to create a graph representing a big tree(parents and children are know

    How to create a graph representing a big tree(parents and children are known)?
    Thank you so much!
    Also, I need to write the graph into a jpg/gif file or display the graph in the web browser.
    I got a code from JGraph and can create the graph I want, although unextendable. However, JGraph define the graph as class Gscene instead of Img or BufferedImg or RenderedImg. Therefore, I couldn't use ImageIO.write(image, ext, file) to write the graph into a jpg file.

    aiGrace wrote:
    How to create a graph representing a big tree(parents and children are known)?Hierarchical data structures are covered here all the time. Please search before you post. This topic has been covered over and over.
    Thank you so much!
    Also, I need to write the graph into a jpg/gif file or display the graph in the web browser. I got a code from JGraph and can create the graph I want, although unextendable. However, JGraph define the graph as class Gscene instead of Img or BufferedImg or RenderedImg. Therefore, I couldn't use ImageIO.write(image, ext, file) to write the graph into a jpg file.Did you read the JGraph API? I'm guessing it exposes a method to get the image data somehow.

  • How to give 'IF 'condition?

    hi experts,
                   i have transaction data like
    ID        VEHICLE NO.
    101       AP31
    102       AP28
    103       AP31
    104       AP31
    105       AP28
    here,when i am executing the, i want to give a condition like "if VEHICLE NO.is AP31 it should display the FLAG like 'A', if not FLAG 'B'.
    pl give step by step procudure
    thanks & regards
    vijay

    I hope you are writing transfer rules. Assuming your Infoobject name is ZVENDOR_ID.
    Then double click on infosource and click on TR mapping --> select Routine and say create. you will reach to ABAP code scree. Following code will work there or slight you need to chnage based on syntax error.
    Select from TRANSFER_STRUCTURE-/BIC/<field name>
            IF ZVENDOR_ID = 'AP31'
                RESULT = 'A'
           ELSE
                RESULT = 'B'
          ENDIF.
    ENDSELECT.
    hope this helps
    Regards
    Pankaj
    ********Assign pts if helpful

  • How to sort/filter tables and lists like in Excel?

    Hi.
    I used to keep track of my expenses in Excel and had a nice table or list (I forget what it's officially called) with a header row where when I clicked on the header of a particular column it would let me sort and filter- for example, I have a column called "category" and I could click on the header for that column and select a filter so that I only saw travel expenses and then the sum below would only reflect how much I spent on travel. I could also click on the "date" column header and "sort ascending" to put everything in chronological order. That was awesome.
    I got a new mac and thought I could keep updating and using this file in Numbers and wouldn't have to buy MS Office. But when I opened the file and saved it as a numbers file, I find that I've lost the ability to sort or filter. The cell at the bottom that has the SUM still works but the header row does nothing. I've seen some other threads about this but I don't really understand them so please forgive me if this is repetitive. Someone suggested hovering the cursor over a column header and a triangle pops up- that is not happening- I think that's in an old version of Numbers. How can I do those things I listed above- sort and filter my entire table? Right now I can only see the total sum of everything in the table but I often need to just add up one category of expenses.
    I don't really know all the math stuff, like formulas. My brain has trouble following that stuff. It was so simple in Excel. Is there anyway to get my header row back to how it was in Excel? If not, if you are able to guide me through some more complicated way to do it I would really appreciate it and I hope I can follow it.
    Thank you for your time.
    -Rebs

    I want to understand how to make the sum cell only show the total of visible rows...
    I don't think you can do that directly.  SUM will include hidden rows. But you can use SUMIF and SUMIFS.
    An example using SUMIF:
    An example using SUMIFS:
    Instead of putting SUMIF and SUMIFS in a separate summary table, you could also put them in Footer Rows of your data table.
    SG

  • How to kill parent and child thread in sequnece

    Hello freinds,
    I have one class FirstClass which creates one thread Pserver and Pserver creates three threads then how to kill parent Pserver and child threads.........

    define a method that requests that the parent thread terminate itself, and within the code called when the thread is shutting itself down, have it do something similar to its child threads: call methods that request they shutdown themselves.
    One common way to do this is to interrupt the thread.

  • How to cancel a query when execute query builtin fire and No Records found.

    Hi,
    I am unable to cancel a query when i make query (fire enter-query) then fire (execute-query) and no records found then the form status is enter-query mode. Plz help me that how can i back to normal mode of form.
    here i use the code for coming back to enter-query to normal mode but no results.
         if :system.mode = 'ENTER-QUERY' THEN
    ABORT_QUERY;
         clear_form;          
         END IF;
    thanks in advance....

    Hello,
    I would test the record status of the first record in the block. If this status is 'NEW', then there is no record retrieved, so that you can exit the query mode with exit_form()
    Francois

Maybe you are looking for

  • Software Update Server - Deleting old updates to make space for new ones

    On Page 77 of the SystemImage_and_SW_Updatev10.4.pdf Apple recommends "deleting old updates to make space for new ones". I've looked and searched and yet to find a way to do this. The Server Admin interface and the command line options I've looked in

  • Viewing language property on PDF document (508 compliance)

    I'm currently working on a content management system that produces some PDF files to be published to external web sites. These PDF files have to be 508 compliant and one of the requirements listed by the user group is to have a Language set on the do

  • DBAdapter Merge failed

    Hi Experts, Does anyone had issue (ORA-00001: unique constraint) while invoking DBAdapter Merge (Insert and Update) to a table which having a primary key of combination of 3 fields? My table is : LOCAL_CURRENCY NOT NULL CHAR(4) FOREIGN_CURR NOT NULL

  • WM::system is not placing the stock another storage bin

    hi friends      system is not check fill the stock to another bin ..system is placing the stock in same bin...what are the cofiguration required? with regards dinesh Edited by: code acess on Jun 15, 2011 10:47 AM Edited by: code acess on Jun 15, 2011

  • Airport Express Transmits To Airport Extreme Base Station Intermittently

    I have an Airport Extreme set up as my base station wirelessly.  I also have an Airport Express set up to extend the range of my network. The reason I have the air port express is that the walls of my house are very thick, so I thought that if I have