How to edit a Constraint details

The Object Browser does not allow you to review and to edit Constraints (foreign keys for example) details and to edit it except enabling/disabling and dropping.
How can I review the details of constrains in the Object Browser?
What SQL command should be used to query the constraints of a table.
Thank you!
Message was edited by:
MarcoPolo

Don't know how it is in object browser but in sql it looks as follows
SQL> create table persons (
  2  prs_name varchar2(40) not null,
  3  prs_surname varchar2(40) not null,
  4  prs_age number(3),
  5  constraint prs_pk primary key (prs_name, prs_surname));
Table created.
SQL> create table person_addresses (
  2  pad_prs_name varchar2(40) not null,
  3  pad_prs_surname varchar2(40) not null,
  4  pad_country varchar2(40) not null,
  5  pad_city varchar2(40),
  6  pad_region varchar2(40),
  7  constraint pad_ck1 check (pad_city is not null and pad_region is null
  8                         or pad_city is null and pad_region is not null),
  9  constraint pad_prs_fk foreign key (pad_prs_name, pad_prs_surname)
10             references persons (prs_name, prs_surname));
Table created.
SQL> select table_name, constraint_name, constraint_type from user_constraints
  2  where table_name in ('PERSONS', 'PERSON_ADDRESSES');
TABLE_NAME                     CONSTRAINT_NAME                C
PERSONS                        SYS_C0090483                   C
PERSONS                        SYS_C0090484                   C
PERSONS                        PRS_PK                         P
PERSON_ADDRESSES               SYS_C0090486                   C
PERSON_ADDRESSES               SYS_C0090487                   C
PERSON_ADDRESSES               SYS_C0090488                   C
PERSON_ADDRESSES               PAD_CK1                        C
PERSON_ADDRESSES               PAD_PRS_FK                     R
8 rows selected.
SQL> desc user_cons_columns
Name                                                  Null?    Type
OWNER                                                 NOT NULL VARCHAR2(30)
CONSTRAINT_NAME                                       NOT NULL VARCHAR2(30)
TABLE_NAME                                            NOT NULL VARCHAR2(30)
COLUMN_NAME                                                    VARCHAR2(4000)
POSITION                                                       NUMBER
SQL> select table_name, constraint_name, column_name
  2  from user_cons_columns
  3  where table_name in ('PERSONS', 'PERSON_ADDRESSES')
  4  order by table_name, constraint_name, position;
TABLE_NAME                     CONSTRAINT_NAME
COLUMN_NAME
PERSON_ADDRESSES               PAD_CK1
PAD_CITY
PERSON_ADDRESSES               PAD_CK1
PAD_REGION
PERSON_ADDRESSES               PAD_PRS_FK
PAD_PRS_NAME
PERSON_ADDRESSES               PAD_PRS_FK
PAD_PRS_SURNAME
PERSON_ADDRESSES               SYS_C0090486
PAD_PRS_NAME
PERSON_ADDRESSES               SYS_C0090487
PAD_PRS_SURNAME
PERSON_ADDRESSES               SYS_C0090488
PAD_COUNTRY
PERSONS                        PRS_PK
PRS_NAME
PERSONS                        PRS_PK
PRS_SURNAME
PERSONS                        SYS_C0090483
PRS_NAME
PERSONS                        SYS_C0090484
PRS_SURNAME
11 rows selected.And you can always get info about data dictionary either from dictionary itself or reference manual.
SQL> select * from dict where table_name like '%CONS%';
TABLE_NAME
COMMENTS
USER_CONSTRAINTS
Constraint definitions on user's own tables
<other rows skipped>Gints Plivna
http://www.gplivna.eu
P.S. I'm absolutely not advising to create tables with such stupid structure :)

Similar Messages

  • HT1386 I have just rceived an upgrade to an iPhone 3GS. Now, when I visit the Store all the prices are in US dollars, not a big problem but I cannot edit my card details or contact to a UK address. I cannot see how to change this.

    I have just rceived an upgrade to an iPhone 3GS. Now, when I visit the Store all the prices are in US dollars, not a big problem but I cannot edit my card details or contact to a UK address. I cannot see how to change this.

    Hi Roger
    Thank you for your reply.
    My original feed is: http://casa-egypt.com/feed/
    However, because I modified the feed http://feeds.feedburner.com/imananddinasbroadcast and nothing changed, I redirected it to another feed and then I deleted this feed.
    Is there any way to change the feed in itunes? The only feed I have now is  http://feeds.feedburner.com/CasaEgyptStation
    I tried to restore the feed http://feeds.feedburner.com/imananddinasbroadcast but feedburner refused.
    I know that I missed things up but I still have hope in working things out.
    Thanks is advance.
    Dina
    Message was edited by: dinadik

  • How to edit my desktop app details

    Hello good people,
    I  published my desktop app in store in 2013. Now I want to change the screenshots and edit the description of the app but I can't see anywhere from the dashboard.
    It says on the dashboard message 'Your account is about to be canceled' despite it saying in the subscription details that I shouldn't have to renew my account.
    Please what do I do to edit the app details?
    Thanks

    i have solved this problem.
    if anyone of you have the same problem just refer to the link above for the solution. i hope it will helps you.

  • How to edit a report based on Stored procedure in Deski

    hi all,
    We have a report based on a stored procedure in Deski format.I can see the sp name it is using under View Data >definition but cannot figure out which database or server it is pointing to .
    Also ,please let me know how to edit/change the sp it is pointing to.
    Thanks

    Hi
    When you click on View Data, at bottom click on Edit button
    It will prompt a connection details tab wherein you can view and modify the connections
    Nik

  • Does anyone know how to delete credit card details from an Apple account?

    Hi not sure if this is posted in the right place but i'll give it a go anyway.
    Would anyone know how to delete credit card details from an Apple account?
    Someone posted selecting 'none' in the payment section would work but i logged into my account online on a computer there aren't any options at all to do this.
    I tried hitting edit but there isn't a delete button.
    If anyone knows any help would be most appreciated!
    -F

    Answer should be here:
    https://discussions.apple.com/message/12832322#12832322

  • How to edit multiple regions in one Piano Roll window

    I edit multiple regions in one Piano Roll window at the same time. (It is very handy way of editing especially in huge orchestra projects.)
    I can see midi contents of all selected regions in Piano Roll at the same time.
    1) But how to choose certain one region of many selected to edit it?
    2) And how to edit all at once?
    Hope the questions are clear enough.
    Thanks.
    Dmitriy.
    iMac (27-inch, Mid 2011) 2,7 GHz Intel Core i5. 16 GB 1333 MHz DDR3.
    OS X 10.10.2

    First of all, the Piano Roll has two mechansim, of what it is displaying.
    Selected Track: This displays all the Regions that you select in the Tracks Window
    One Track: Selecting one Region in the Track Area displays all the Regions of tha tTrack in the Piano Roll. If you select multiple Regions in the Tracks Window, then the last selected Regions counts.
    Whatever Regions are now displayed in the Piano Roll Editor can be edited. Select the MIDI Events and apply the command.
    You can also apply edits directly to the selected Regions in the Tracks Window.
    I explain all those little details in my graphically enhanced manuals ("Logic Pro X - How it Works")
    One thing to be clear about:
    Tracks Window: Any edit is applied to the selected Regions
    Piano Roll Editor: Ay edit is applied to the selected Events
    Hope that helps
    Edgar Rothermich
    http://DingDingMusic.com/Manuals/
    'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

  • How to remove credit card details from iPad 4. So I can download free apps from apps store??

    Please someone tell me how to remove credit card details from iPad 4, so I download free apps from App Store??

    None for payment
    After establishing the Credit Card account, you can remove the credit card information by editing your payment info, choosing "None".
    Note: You won't find "None" if you have not purchase anything with the Credit Card.

  • How do I see a detailed view of what's on my hard drive and how much space it's consuming?

    I have an early 2007 iMac (3GB RAM) and a 320 GB hard drive.  I'm trying to clear some of the programs and files I don't need to free up space, but I'm not sure how to get a similar look at my files and how much space they take up individually (as I would with a PC).  Under system info I'm able to get the high-level overview, but how do I see a detailed view that I can then edit?

    Thanks for your help.  I did just that and was able to get a much better view with OmniDiskSweeper.  I was shocked to find that my MobileSync files were 125 GB of about 270 being used!  Guess I shouldn't be surprised with 4 iPhones and 4 iPads syncing to the same iMac at one time or another -- just kind of surprised Apple/iTunes doesn't make it any clearer that this can turn into a big problem if you don't initially create the appropriate backup settings for your devices.  Thanks again!

  • How to edit the node value of a tree in webdynpro java

    Hi ALL
    I have Tree UI element where i got displayed all the nodes by calling the BAPI
    Now my requirement is when i put the cursor at any node in the Tree struture then on click of insert button i need to insert the new node with the text  , the user has to be option to give new text for the new node dynamically  , so while adding the new node in a tree the tree has to choose the text for new node , like how to edit the node of a tree to add new text.
    If any one can send the sample code on the same then it would be great help to me.
    Similar requirement like in table UI Like however we are adding the new row in a table when we click on the insert button then cursor will go to that new row in a table where user can enter his details in the table.. now i am looking for the same requirement in a Tree UI element.
    is it possible the same requirement in tree UI element in webdynpro for Java??
    Thanks
    kallki reddy

    Hi kallki reddy
    In general I think this is not possible in the form you'd like. It seems the Tree control is read-only thing always. It cannot provide editing capabilities.
    Table is different thing. You can select within many different cell editors including Input Fields.
    I guess that you scenario could be implemented not with Tree control, but with Table with Master Column. The master column allows to bring up a hierarchy into a plain table. So it's just a tree inside a table.
    Here you can find further details: [TreeByNestingTableColumn API|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/92/12a74046033913e10000000a155106/content.htm]
    BR, Siarhei

  • Can't figure out how to edit a Draft e-mail message--simple, right? Wrong.

    OK, sorry if this is too basic and belongs in the Getting Started folder, but I couldn't find the problem here or in that location.
    I thought I could figure out how to edit a message in the Drafts folder. I tried; it didn't work. I looked online, found a tutorial, which showed that I was indeed trying to do the right thing the right way. So why doesn't it work????
    Here's what happens.
    I start an e-mail message, click Cancel, then save as a Draft. That works fine. But then...
    From the Home screen, I tap Mail.
    On the Mailboxes screen, I tap Drafts (there's a number on the right -- 2 -- which disagrees with the number of messages actually seen -- 1 -- at the next step; I don't know if that's an important detail or not).
    I see the draft message I want to edit. I tap it.
    I tap Edit. According to the tutorial, the message is supposed to open up for me to edit further. But it doesn't. Instead...
    The two lines representing the message (Recipient and first few words) move a bit to the right, and the Edit button changes to Cancel.
    A dull red Delete button and a blue-gray Move button show up at the bottom. But the first line of the draft message, which has (accurately) shown up under the boldface "(No Recipient)" line, stays where it is -- showing as part of an entry in the list but not as something I can edit. I don't see the complete message, and I can't edit anything, even though I think I have just entered an Edit mode.
    I click those two lines, and a red checkmark appears on the left, and the dull buttons at the bottom become brighter red and brighter blue-gray.
    Tapping, double-tapping, tap-and-holding... all just toggle that checkmark on and off.
    THIS MUST BE REALLY SIMPLE... HOW DO I EDIT THE TEXT OF THE DRAFT MESSAGE????

    Zero replies??? Wow, I guess this is a really uncommon problem.
    Well, the Genius Bar fixed the problem. They confirmed that it WAS real, and they couldn't figure out how it had gotten that way. There must have been some internal list in an inconsistent state... or something.
    The fix was to deactivate my MobileMe account on my iPhone -- just wipe it out. Then they re-activated it. Everything re-synched and the problem was gone.

  • How to: Edit an INDT InDesign Template file?

    Hi,
    I am currently working on a packaging redesign project.
    I have received an InDesign template from a client that was previously created by another design house. They have added their logo and company details to the template, which I would like to remove in order to add my own.
    I have no idea how to edit the material in the template.
    Can anyone please advise me?
    Thanks in advance.

    Its not working Im afraid...
    The previous template has guides and crop marks etc, along with the contact details from the previous firm that I would like to shift or move.
    Following the steps you've described opens the template, but the content is still not able to be edited.
    Ive checked the layers palette to see if the layer is locked etc, but they are not. I simply cant edit the content.

  • How to get Payment Advice details using REGUH  REGUP tables

    Hi,
    How to fetch payment Advice details in REGUH  REGUP tables by passing Header details of Payment document (BEKNR, BUKRS and GJAHR) ?
    My observation:
    E.g. for Payment document 1500000135 i am getting following records from REGUH table
    MANDT     LAUFD             LAUFI     ZBUKR    LIFNR                       VBLNR
    300            15.04.2010     00009O     1000     AB6666               1500000135
    300            16.04.2010     00002O     1000     AB6666               1500000135
    300            17.04.2010     00001O     1000     AB6666               1500000135
    While debugging driver program for Check print i have observed that REGUH contain entry as
    300            17.04.2010     00001*                 1000             AB6666               1500000135
    For other document also i have found that its picking up last entry from REGUH (i have relate 00001O with 00001*) and accordingly its displaying records on Check
    Correct if my observation is wrong
    Whats the meaning of LAUFI 'Additional Identification' ?
    While displaying Check is the program always picks last/latest payment run entry from REGUH?
    thanks,
    Edited by: Amol Deshpande on Apr 19, 2010 9:41 AM

    Hi Suhas,
    But if we are making payments through F-58 and FBZ5 transaction then these both tables REGUH REGUP also get updated. in such case how does system determines --> Payment Run id
    Payment Run id (REGUH-LAUFI) is crucial for me to fetch Payment details from REGUP table
    also tell me when does system generates multiple lines for single payment document in REGUH ?
    Please share your views

  • How to edit the properties.

    I installed a tool in LiveCycle called "LiveCycle Workbench". I dont know how to edit the properties of Reader Extensions server and deselect [CommentsOnline] through Workbench. Please kindly advice me in detail with examples or samples.
    Thanks,
    Prabudass

    This is the Help topic for the Apply Usage Rights operation that the Reader Extensions service provides:
    http://livedocs.adobe.com/livecycle/es/wb_help/00000949.html
    If you are new to LiveCycle, you should work through this tutorial to learn the basics:
    http://livedocs.adobe.com/livecycle/es/wb_help/00000405.html
    Scott

  • Hello, small question, how to change the bank details my account is on? keep on charging the old card nr of a friend ;-(

    hello, small question, how to change the bank details my account is on? keep on charging the old card nr of a friend ;-(

    Go to iTunes, click on your Apple ID (right top iTunes' corner), enter your paswword if requested and edit the details you want

  • How to Edit Contact List with email

    How to Edit Contact List  with email ID  in the heading
    Regards,
    Charles.KE

    eh? Can you please give some detail of what you're attempting to do ?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for