How can I see all references to primary key

How can I make a query for my primary key to see the detail foreign keys and see which key is not available?

select a.table_name, a.constraint_name, b.table_name as Ref_Table, b.constraint_name as Ref_Constraint
From ALL_CONSTRAINTS a, ALL_CONSTRAINTS b
where a.r_constraint_name = b.constraint_name
and a.constraint_type = 'R'
and b.table_name = 'TABLE_NAME';
OR, more exactly:
select a.table_name, a.constraint_name, b.table_name as Ref_Table, b.constraint_name as Ref_Constraint
From ALL_CONSTRAINTS a, ALL_CONSTRAINTS b
where a.r_constraint_name = b.constraint_name
and a.constraint_type = 'R'
and b.constraint_type = 'P'
and b.table_name = 'TABLE_NAME';
null

Similar Messages

  • I am running out of memory on my hard drive and need to delete files. How can I see all the files/applications on my hard drive so I can see what is taking up a lot of room?

    I am running out of memory on my hard drive and need to delete files. How can I see all the files/applications on my hard drive so I can see what is taking up a lot of room?
    Thanks!
    David

    Either of these should help.
    http://grandperspectiv.sourceforge.net/
    http://www.whatsizemac.com/
    Or search 'disk size' in the App Store.
    Be carefull with what you delete & have a backup BEFORE you start, you may also want to reboot to try to free any memory that may have been written to disk.

  • How can I see all the Transaction Code that the client is using?

    How can I see all the List of Transaction Code that the client is using?

    Hello Sugauli,
    Did you mean to ask
    transaction types the client is using?
    instead of
    transaction code
    If so, go to SPRO (in ERP system) and follow this path:
    Sales and Distribution -->
         Sales -->
             Sales Documents -->
                 Sales Document Header -->
                      Define Sales Document Types
    All the transaction types that are not used have an X in the column Block.
    Easwar Ram
    http://www.parxlns.com

  • HT1918 How can I see ALL transaction history in my account.  Specifically, I would like to see the gift cards I have redeemed for my account.  I know I have over $200 in my account but it is not showing the balance anywhere.  Any ideas?!?!?

    How can I see ALL transaction history in my account.  Specifically, I want to review the gift cards I have redeemed but the amounts are not showing up in my account.  I know I have over $200 in my account and I am unable to access it.  The site wants me to pay by credit card and I don't want to do that.  Any ideas how I can recover the money in my account?

    You can only view your account's purchase history, you can't view a history of card redemptions.
    My account's balance shows at the top left of the store's page on my computer's iTunes, and by logging in to view my account via the Store > View Account menu option. On my iOS devices it shows at the bottom of, for example, the Featured tab in the App Store app under my account id (or you can view your account via Settings > iTunes & App Stores and it should show on the screen that you are taken to).
    To view your purchase history : log into your account on your computer's iTunes via the Store > View Account menu option, you should then see a Purchase History section with a 'see all' link to the right of it. Click on that and you should then see a list of your purchases.
    You've tried logging out and back into your account to see if your balance then shows ? If not, and you can't see where it might have been spent, then you could try contacting iTunes Support and see if they can help : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How can I see all photo miniatures when I open a photo album or an event in iphoto?

    How can I see all photo miniatures when I open a photo album or an event in iphoto?

    Note the zoom slider at the bottom of th iPhoto Window - drag it left.

  • How can I see all  the idocs used in the system

    I am very new in this area. How can I see all  the idocs used in the system. Those which are posted and those which are not.

    Check thes sap help links:
    http://help.sap.com/saphelp_nw70/helpdata/en/90/c4b523c4c411d2a5ee0060087832f8/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/d5/edf15ddcdc11d1890c0000e8216438/content.htm
    - Regards, Dibya

  • How can i see all the songs I already purchased on my two computers. I don't have a network

    how can i see all the songs I already purchased on my two computers. I don't have a network

    nievesfromaustin wrote:
    I guess the question is how can I listen to all my songs that i bought from my two computers if i want to listen to all of them in one computer. I don't have a network.  Is there a web base site I can do that? or anything else?
    Please help
    Songs that you purchase from the iTunes Store are simply files.  They only sit on the computer where you purchase them, until you copy them to another computer.
    That is how it works.  There is no web site where you can play all your files.  It's primitive I know, but there may be changes coming.

  • How can v see all vndors

    Hi ,
    How can v see all vendor balaces at a time

    Hi
    Pls find the below path:
    SAP menu --> Information System --> General Report Selection --> Financial Accounting --> Reports for Accounts payable Accounting --> Vendor balances --> Vendor Balances in Local Currency
    TCode : S_ALR_87012082

  • HT5538 how can i see all my contacts numbers

    how can i see all my contact numbers

    ok i lost my phone i had my passcode from all my emails in it and passcodes i dont know it by memory and one week before i lost it i had just chage my nunber to a new one so i never had the chace to change my emails phonenumber  to a new one and i lost all my phone book there with all my pass code so now that i just got a new phone i cant get none of my numbers or emails passcodes noting i dont know what to do i need ur help thanks

  • How can one see all printdocuments for a business Partner

    How can one see all printdocuments for a business Partner(only transaction, no table please)
    Thx

    Avajit,
    Use T-Code CORRHIST
    Hope this helps
    Rgds
    Rajendra

  • Dear I am using iphone 4s now its connected with pc to create contact group.  I have 750 contacts in phone but pc showing only 36. How can i solve this? How can I see all contacts in pc?

    Dear I am using iphone 4s now its connected with pc to create contact group.  I have 750 contacts in phone but pc showing only 36. How can i solve this? How can I see all contacts in pc?

    HI,
    It may pay to bookmark this page.
    http://www.apple.com/support/systemstatus/
    8:40 PM      Wednesday; April 10, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • IBooks from Australia and the USA - how can I see all of my collection on my MacBook Pro?

    G'day,
    I am Australian. I began using iBooks in Australia by purchasing books through the Apple store in Australia on my iPhone.
    In those days I had a PC running windows, and used to sync my iPhone on iTunes in Windows 7.
    Later, I moved to Illinois in the USA. I also changed from using a PC to using an Apple MacBook Pro.
    So these days I sync my iPhone with my MacBook.
    I now have a mixture of books on my iPhone. Some purchased from the Apple Store in Australia, and some purchased from the Apple Store in the USA.
    I can see and read ALL of my books on my iPhone.
    But I can only see and read the 5 books I purchased since living in the USA on my MacBook Pro.
    My login and password are exactly the same for the Australian Store, for the USA Store and for iCloud.
    How can I see and read ALL my books on my MacBook Pro here in Illinois?
    My iPhone is running iOS version 8.1.2
    My MacBook is running OS X Yosemite 10.10.1
    Message was edited by: bruce in Illinois
    corrected typos

    Thanks for your prompt response King_Penguin.
    I carried out your suggestions.
    A strange thing resulted.
    Just one (1) of my 34 books on my iPhone now appears in the iTunes list of books on my Mac, and subsequently was moved to iBooks on the MacBook Pro.
    This happens to be the book I am currently reading. So at least I can get on with reading on either device.
    But I am mystified why only one book was copied across.
    Thanks again for your help.

  • How can I see all my open tabs?

    When I use the drop-down Windows menu, it only shows the name of the window, not the tabs within each window. And I don't an option for "Activity Window" (like on Safari), or anything else that will show me all open tabs. How can I see them, as flipping through every open window is a pain....

    Does anyone have a response? Or know why even the windows listed in my dropdown list isn't even in alphabetical order? Why does FF make managing open windows and tabs so very, very, cumbersome and difficult?? No other browser is this lame when it comes to that.... Is it really so hard to put them in order, or to add an "Activity Window", which would show all windows and tabs that are open?
    Also, WHY DON'T the tabs and windows that open up when I hit Restore Previous Session show up in the HISTORY???? If they did, then I could simply delete all the other history, and I would have a list of all the tabs/windows, so when the number becomes too big, I can simply close them out, and at least have access to a means of re-opening them, As of now, I'm stuck either writing them all down, or one by one saving them as bookmarks (which i really don't want to do), , or who knows what, but again, this is a royal pain, that other browsers make far easier....

  • How can you see all the open tabs?

    When I use the drop-down Windows menu, it only shows the name of the window, not the tabs within each window. And I don't an option for "Activity Window" (like on Safari), or anything else that will show me all open tabs. How can I see them, as flipping through every open window is a pain....

    Hi,
    You can try to set '''browser.allTabs.previews''' to true in [http://kb.mozillazine.org/About:config about:config]. (In the [[Location bar autocomplete|Location bar]], type '''about:config''' and press '''Enter'''. The about:config "''This might void your warranty!''" warning page may appear. Click '''I'll be careful, I promise!''', to continue to the about:config page.)
    [http://kb.mozillazine.org/About:config_entries about:config Entries]

  • How can I see ALL TRACKS by a particular artist?

    When I do a search in iTunes for a band that has a large catalogue (e.g. Pearl Jam or U2) I only get about 150 results. Now, for Pearl Jam I know there are more songs. How can I see a bands' ENTIRE catalogue of songs without having to click on each album individually? Also, if they have a song on a compilation, why isn't that listed in the bands' "All Albums" area? Thanks!

    Not all songs for a group may be for sale in the iTMS. They may hold out some songs/albums due to legal issues. Some groups have switched labels and not all labels are listing in the iTMS. AeroSmith is another example.
    MJ

Maybe you are looking for