How to recover the one table to another table

By querying the tables system how can I get the tables with a foreign key on a X column to a certain table Y? I mean I have a table TAB1 with a COL column and I want to know who all the table having a column COLLAR on which they have a foreign key to TAB1.
I don't know how to properly use user_cons_columns and user_constraints and what else...
Thank you!

Try this

Select the table table_name from user_constraints where R_CONSTRAINT_NAME in (select CONSTRAINT_NAME from user_constraints where TABLE_NAME = 'EMPLOYEE worker')

Alexander gelin
http://nimishgarg.blogspot.com/

Tags: Database

Similar Questions

  • How to recover the deleted table

    Hai

    How to recover the deleted table

    the IMP log = = file tables =

    fromuser =' 'touser =' '
    are you new on s/n? (Sorry for the request this because you asked the steps to import a single table). If you read the docs of oracle, you would have not asked this question

    Kind regards
    Pavan
    http://pavandba.WordPress.com

  • How to recover the partition table (corrupt) for the partition in good health?

    Partition (drive H) was working fine, then I rebooted my system normally and the drive is now inaccessible.

    "An error occurred reading the file: the file or directory is corrupted and unreadable." (1392).

    Window CMD CHKDSK says NTFS file system and "unable to determine the State and version volume.»

    [This is a disk external drive with 2 partitions on it - H and Mr. the second partition (drive M) discs works fine.]
    [Vista Ultimate OS]

    Is there a way I can get it to work or get the data off of it?

    Try the procedure described in the article below

    http://www.ehow.com/how_7500292_recover-bad-partition-table.html

  • When one of the contolfile is corrupted so how to recover the controlfile?

    When one of the contolfile is corrupted so how to recover the controlfile?

    Simply copy another control on your database to a file simply paste in the location of the corrupted controlfile.

    or

    Manually re-create the control file

    SQL > STARTUP NOMOUNT
    SQL >
    CREATE CONTROLFILE REUSE DATABASE "orcl".
    NORESETLOGS [archivelog/noarchivelog]
    MAXLOGFILES 5
    MAXLOGMEMBERS 3
    MAXDATAFILES 10
    MAXINSTANCES 1
    MAXLOGHISTORY 113
    LOGFILE
    GROUP 1 ' path to the REDO01. LOG' SIZE xxxM,
    GROUP 2 ' path to the REDO02. LOG' SIZE xxxM,
    GROUP 3 'path to the REDO03. LOG' SIZE xxxM
    DATA FILE
    "the data 1' SIZE xxx file path,
    "path of the file of data 2' SIZE xxx,
    "path of the data 3' SIZE xxx file,
    .
    .
    .
    .
    .
    .
    .
    "path of the data file n ' SIZE xxx,.
    ...
    GAME CHARACTERS [characater_set];

  • How to recover the second line of a table

    Hello

    Could someone let me know how to recover the second line of a table without using the coumn the names of columns in the table.

    By default the table EMP or used in the case of scott connection can be used as an example of table.


    Concerning
    select e.* from(
    select e.*,  rownum rn from emp e)e
    where e.rn =2
    

    did you expect that?

  • Have an Acer Aspire MA52 with W8.1. How to recover the partition "Recovery."

    I have perhaps destroyed the recovery partition when I used EaseUS Partition Master to split the C: partition into two partitions.  Can someone please advise on how to recover the necessary recovery partitions?  When I Advanced Start, I do not get an option "troubleshooting."

    Thank you.

    Thank you.  I got to the Acer store before somehow and it seemed that the store only shipped to the Canada; that is, there was only one country that could be selected.  I went through the url you gave and was able to place an order for a recovery disc.  Hope that works.

    Thank you.

  • If you use vista, how to move from one account to another windows messaging?

    My set cable company in place for e-mail accounts.  One for my wife and one for me.  My wifes account is the default value.  How to switch from one account to another?

    I searched through default settings, account information, etc. anything. I believe that under XP, you could choose an account or another.

    OE has the option of identities, Winmail opener does not work. Unless you have separate Windows logons, you use the same instance of WinMail and share the same Inbox, unless you create another and divert the mail with message rules. The only "switch" you have at the moment is when you compose a new message, there is an arrow down to the right of the field to choose the account, the message will be.

  • How to configure the partition table for SSD?

    Drive: 32 GB SSD

    I accidentally delete without backup partition table information and would like to know how to put the partition table, I can access the tools of partition table, but do not know how to define.

    Does anyone have any suggestions?

    Thanks in advance for your suggestions

    Hello

    Thanks for posting your query in Microsoft Community.

    The SSD could be seen in the disk management window, and you could name and set up as another hard drive internal. To create a partition or volume on a hard disk, you must be logged in as an administrator, and there must be unallocated disk space or free space in an extended hard disk partition. To repartition your hard drive, please consult the following link and check if it helps.

    I can I repartition my hard disk?

    Additional information:

    Create a new Partition on a hard disk in Windows 7

    Hope this information is useful. Let us know if you need more help, we will be happy to help you.

  • How nagivate values from one page to another page as well assured in different modules like po and pon

    How nagivate values from one page to another page as well assured in different modules like po and pon?

    I tried using the session values, hashmap, and Transaction. But none worked.

    Please help me on this.

    Dilip thanks.

    My problem is solved.

    I solved the issue.using the main concepts of java.

    By importing a package into other package and then instantiate the required class.

    Kind regards

    2793235.

  • How to recover data from table

    I'm new to APEX 4.0, how to recover data from table

    My table is CR_USERPROFILE... and I want to recover data to the following recommendations:

    Select the title, user name, address, email, mobile, cr_userprofile where e-mail is APEX_CUSTOM_AUTH. GET_USERNAME


    Text P110_EMAIL 10 field
    20 P110_TITLE selection list
    P110_USERNAME 30 text field
    Text field P110_ADDRESS 40
    P110_PHONE 50 text field
    Text P110_MOBILE 60 field

    could any body if you please help...

    Thanks and greetings
    Luke

    Hello

    1. create the process Page.
    2. Select the Data Manipulation
    3. in the category select "Automated line Fetch".
    4 enter the process name, sequence, select "on the load - before the headers" to the point.
    5. specify the owner, table, primary key and the key column primary (Item name contains the primary key).
    6. create a process.
    7. in each element, select "Column of the database" in "the Source Type.

    Kind regards

    Patel Kartik
    ------------------------------------------------------------------------
    http://patelkartik.blogspot.com/
    http://Apex.Oracle.com/pls/Apex/f?p=9904351712:1

  • How to navigate from one page to another page.

    I'm trying my hands on Flex by building a sample application.

    After the user connects I want it to be on the home page. So in Flex how to navigate from one page to another on certain conditions?

    A way I thought is to make invisible visible n components, but which does not seem a good idea.

    What approach allows us to reach this goal?

    Please suggest.

    For your scenario, you really have to use the ViewStack (do not use States for this).

    Here is a link:

    http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=navigators_3.html

    And here is a very simple code:


    http://www.Adobe.com/2006/mxml">
     
     
       
         
       

       
         
       

       
         
       

       
         
       

     

    If this post answers your question or assistance, please mark it as such.

  • I have a LOV custom, but I don't know how to recover the selection?

    Hi all
    I want to recover my lov user selection, but I don't know much about the syntax.
    Please advice.
    Currently, I have attached a script to a button so that I can bring out a LOV.

    ______________________________________________________________


    DECLARE BOOLEAN a_value_chosen;

    BEGIN
    Message ("LOV is gg to pop up.");
    a_value_chosen: = Show_Lov ('LOV27');

    IF this is a_value_chosen
    Message ("you have not selected a value.");
    Bell; RAISE Form_Trigger_Failure;
    ON THE OTHER
    / * I don't know how to recover the selection of the user here... * /.
    Message ("you selected a value!' |") SELECTION);

    END IF;
    END;

    There is another way to get your selection of LOV... you can not use this concept...
    You must return value LOV to some parameter/item, while creating LOV. in order to check if its recoveries or not...

    Suppose that you have returned the value to a parameter named RETURN_VAL then...

    DECLARE
      A_VALUE_CHOSEN BOOLEAN;
    BEGIN
      MESSAGE('LOV IS GG TO POP UP.');
      A_VALUE_CHOSEN := SHOW_LOV('LOV27');
    
    IF :PARAMETER.RETURN_VAL IS NOT NULL THEN
      MESSAGE('YOU HAVE NOT SELECTED A VALUE.');
      BELL; RAISE FORM_TRIGGER_FAILURE;
    ELSE
      MESSAGE('YOU HAVE SELECTED A VALUE!!!' || :PARAMETER.RETURN_VAL);
    END IF;
    END;
    

    -Aamir Arif

  • How to recover the PSADMIN State of origin user profile?

    People,

    Hello. My user ID to log in the application designer is "PSADMIN". I just created PIA. "http://localhost/psp/ps/?cmd=login" accesses PeopleSoft access code page, and I use "PSADMIN" to connect. I can open all web pages after login. "PSADMIN" is the access profile and user profile.

    But after I create a "newUser" role and assign a list of the permissions for the role, then the role "newUser" a link to the user "PSADMIN" profile, I can't open most web pages after login in PeopleSoft signon page using "PSADMIN". The system get the message: "you do not have access to the collection of Navigation. Please contact your portal administrator.

    Can any people tell me how to recover the profile user "PSADMIN" State of origin so that all web pages open after the connection?


    Thank you.

    go to PIA by using a root as VP1 or PS user and remove what you added to the PSADMIN.

    If you have locked your root user by chance... unlocked by using backend.

    PSOPRDEFN TABLE, unlock root user using the acctlock update.

    then sign in using that and make changes to the PSADMIN. or just the background, you can delete the additional role of PSADMIN profile using the same table.

  • Previously, during display of the image (photo) in the tab, it displays the resolution of the image, how to recover the photos (pictures) display resolution?

    Previously, during display of the image (photo) in the tab, it displays the resolution of the image, how to recover the photos (pictures) display resolution?

    You bring up the title bar via the "Title bar" button at the bottom left in the palette to customize window

    See also:

  • How to recover the sparsebundle workspace?

    Hi all

    EL Cap 10.11.5

    I made a my.sparsebundle which was for 2 GB

    - then I almost filled

    - then I deleted 50%

    - then run the Terminal command

    -Recovered 0 bytes

    -so I've removed everything inside and running the command again

    -always it recovered 0 bytes

    Q How do this work?

    -------

    How to recover the sparsebundle workspace?

    I went to the terminal and type:

    hdiutil compact /Users/me/Documents/my.sparsebundle

    and he succeeded, but said regenerated = 0 bytes of 48.9 MB possible.

    s http://blog.fosketts.NET/2015/07/22/how-to-use-Mac-OS-x-sparse-bundle-disk-image.

    rse-bundle-when-hdiutil-compact-is-not-e http://Apple.StackExchange.com/questions/54607/completely-recover-space-from-Spa...

Maybe you are looking for

  • Terminal guard opening randomly

    Thus, every once in a while... (as both days) I wake up my iMac and notice that my terminal is open. Now, I rarely if ever open it... If it of not like I opened and didn't close it. I have not use this month... Nothing unusual appears in it. It would

  • Satellite P50 - B - 11 M - Ubuntu Linux usage

    Hello. I'm about to buy a Satellite P50 - B - 11 M, but I do not know if Ubuntu/Mint (that I use for work) works perfectly on this machine, since the Ubuntu Certified Desktop page does not list any machine of your brand. Can you help me? Someone test

  • The EU browser choice update

    The update of the browser has been downloaded and installed by my computer but it asks me which browser I tried or he did put a shortcut on my desktop. How can I access the browser so that I can see the choices I have?

  • F4180 do not print in color (even if it does not print in color test page)

    Whenever I try to print anything from a Web page or save the file, it only prints in black and white. I did the color test page (holding the button cancel and hit then start color copy), and the colors printed correctly. I always see color/black and

  • Scam: received a call from an Indian guy claiming to be from Microsoft

    I just got a call from an Indian guy who claims to be from Microsoft.  When I questioned him ask for a web address and phone number to verify, also told me that they couldn't give me that because of the data protection. The call showed up on my phone