Lost after activation of the version foreign key relationship tables

I created 2 tables to test this: approach the table and the Customer table that has a column AddressId referencing the Id primary key column in the Address table.

So I ran the following statement in pl/sql developer:

Start
dbms_wm. EnableVersioning (' address, customer ', 'VIEW_WO_OVERWRITE');
end;

Then I couldn't find the foreign key in the table customer_lt or. What's not here?

Thanks for any clue.

-Nico-

Hello!

which is expected. OWM manages foreign in their own country keys when you encounter tables enabled version, that's why you don't see them anymore.
Please see Chapter 1.9 ('constraint with Workspace Manager support') in the documentation for more information.
When you open a DDL session on a version-enabled table, you can see the foreign keys on the temporary table _LTS. It is also the only way later on Add/Remove foreign key constraints.
Apart from this, you can use the views ALL_WM_RIC_INFO or USER_WM_RIC_INFO to display foreign key metadata.

hope that helps.

Kind regards

Andreas

Tags: Database

Similar Questions

  • Judgment of NAC Manager HTTPS response after activation of the AH

    Judgment of NAC Manager HTTPS response after activation of the AH

    I have currently NAC installation in a lab, and as soon as I restart the Manager after you have configured the AP server stops responding to HTTPS and I got Service temporarily unavailable. After restarting the server I saw something console to check the HA setting but I not see this message again and I don't know how to check these parameter in CLI.

    Hello

    This may mean that HA is not correctly configured (problem with certificates, heart rate, etc.).

    The best thing to do is to connect via SSH for both cams, go to /etc/ha.d/ and delete the files: 'perfigo.conf' and 'ha.cf.

    These are the files that contain the HA configuration, if, after deletion, restart the machine and they will come as stand-alone upward again.

    As a stand-alone, you can HA startover config again, ensuring that you follow the steps required:

    http://www.cisco.com/en/US/docs/security/nac/appliance/installation_guide/hardware/48/hi_ha.html.

    HTH,
    Tiago

    --

    If this helps you or answers to your question if it you please mark it as 'responded' or write it down, if other users can easily find it.

  • How to join two tables to retrieve the data from the columns in table two. Tables have primary and foreign key relationships

    Hello

    I want to join the two tables to retrieve the data from the columns of the two table passing parameters to the join query. Tables have primary and foreign key relationships

    Details of the table

    Alert-1 - AlertCode (FK), AlerID (PK)

    2 AlertCode-AlertDefinition-(PK)

    Help, please


    ----------

    Hi Vincent,.

    I think that you have not worked on adf 12.1.3.  In adf 12.1.3 you don't have to explicitly create the association. When you create the EO to your table, Association xxxxFkAssoc, will be created by ADF12.1.3 for you automatically. Please try this and do not answer anything... You can also follow the links below. I solved the problem by using the following link

    Oracle ADF Guide step by step - Oracle ADF tutorial: creating a relationship of the master / detail using Oracle ADF

    ---

  • How to find child every column foreign keys of tables without index {worm 10 g}

    Hi Experts,

    I have need of a query to find child all the foreign keys of table columns, which are not having an index on the foreign key column.

    Try this.

    SELECT T1. OWNER,

    T1. CONSTRAINT_NAME,

    T1. TABLE_NAME,

    T2. COLUMN_NAME,

    T1. CONSTRAINT_TYPE

    OF ALL_CONSTRAINTS T1,.

    ALL_CONS_COLUMNS T2

    WHERE T1. CONSTRAINT_NAME = T2. CONSTRAINT_NAME

    AND T1. TABLE_NAME = T2. TABLE-NAME

    AND T1. OWNER = T2. OWNER

    AND T1. CONSTRAINT_TYPE = 'R '.

    AND T2. COLUMN_NAME NOT IN (SELECT COLUMN_NAME FROM ALL_IND_COLUMNS T WHERE TABLE_NAME = T1.) TABLE_NAME AND COLUMN_NAME = T2. COLUMN_NAME);

    Post edited by: Parth272025

  • foreign key ALTER TABLE QUERY PROBLEM

    HAI ALL,

    ANY SUGGESTION PLEASE?

    UNDER: foreign key ALTER TABLE QUERY PROBLEM

    I want TO CREATE AND ALTER TABLE foreign key:

    1.TABLE:HAEMATOLOGY1
    COLUMN: HMTLY_PATIENT_NUM
    WITH
    TABLE: PATIENTS_MASTER1
    COLUMN: PATIENT_NUM (THIS IS THE KEY PRIMARY AND UNIQUE)

    1.TABLE:HAEMATOLOGY1
    COLUMN: HMTLY_TEST_NAME
    WITH
    TABLE: TESTS_MASTER1
    COLUMN: TEST_NAME ((C'EST LA CLÉ UNIQUE))
    ---------------


    SQL + QUERY DATA:
    -----------
    ALTER TABLE HAEMATOLOGY1
    Key constraint SYS_C002742_1 foreign (HMTLY_PATIENT_NUM)
    references PATIENTS_MASTER1 (PATIENT_NUM);

    ERROR on line 2:
    ORA-01735: invalid option of ALTER TABLE

    NOTE: THE NAME OF THE CONSTRAINTS: SYS_C002742_1 TAKEN FROM ORACLE ENTP TABLE DETAILS. MGR.
    ---------
    ALTER TABLE HAEMATOLOGY1
    Key constraint SYS_C002735_1 foreign (HMTLY_TEST_NAME)
    references TESTS_MASTER1 (TEST_NAME);

    ERROR on line 2:
    ORA-01735: invalid option of ALTER TABLE

    NOTE: THE NAME OF THE CONSTRAINTS: SYS_C002735_1 TAKEN FROM ORACLE ENTP TABLE DETAILS. MGR.

    ==============

    4 TABLES OF LABORATORY CLINIC FOR DATA ENTRY AND GET REPORT ONLY FOR THE TESTS CARRIED OUT FOR PARTICULAR

    PATIENT.

    TABLE1:PATIENTS_MASTER1
    COLUMNS: PATIENT_NUM, PATIENT_NAME,

    VALUES:
    PATIENT_NUM
    1
    2
    3
    4
    PATIENT_NAME
    BENAMER
    GIROT
    KKKK
    PPPP
    ---------------
    TABLE2:TESTS_MASTER1
    COLUMNS: TEST_NUM, TEST_NAME

    VALUES:
    TEST_NUM
    1
    2
    TEST_NAME
    HEMATOLOGY
    DIFFERENTIAL LEUKOCYTE COUNT
    -------------

    TABLE3:HAEMATOLOGY1
    COLUMNS:
    HMTLY_NUM, HMTLY_PATIENT_NUM, HMTLY_TEST_NAME, HMTLY_RBC_VALUE, HMTLY_RBC_NORMAL_VALUE

    VALUES:
    HMTLY_NUM
    1
    2
    HMTLY_PATIENT_NUM
    1
    3
    MTLY_TEST_NAME
    HEMATOLOGY
    HEMATOLOGY
    HMTLY_RBC_VALUE
    5
    4
    HMTLY_RBC_NORMAL_VALUE
    4.6 - 6.0
    4.6 - 6.0
    ------------

    TABLE4:DIFFERENTIAL_LEUCOCYTE_COUNT1
    COLUMNS: DLC_NUM, DLC_PATIENT_NUM, DLC_TEST_NAME, DLC_POLYMORPHS_VALUE, DLC_POLYMORPHS_

    NORMAL_VALUE,

    VALUES:
    DLC_NUM
    1
    2
    DLC_PATIENT_NUM
    2
    3
    DLC_TEST_NAME
    DIFFERENTIAL LEUKOCYTE COUNT
    DIFFERENTIAL LEUKOCYTE COUNT
    DLC_POLYMORPHS_VALUE
    42
    60
    DLC_POLYMORPHS_NORMAL_VALUE
    40-65
    40-65
    -----------------


    Thank you
    RCS
    E-mail:[email protected]
    --------

    ALTER TABLE HAEMATOLOGY1
    ADD Key constraint SYS_C002742_1 foreign (HMTLY_PATIENT_NUM)
    references PATIENTS_MASTER1 (PATIENT_NUM);

  • ODI is not able to detect the primary/foreign keys to XML - the user has no privilege or object not found

    Hi guys,.

    Im trying to load an XML with the address of two entities and employee as below. The topology of reverse engineering, everything works well. Even able to display the xml data in ODI, but when I try to load the data of these two entities join by the schema of the primary keys and foreign keys which created odi engineering process reverses for xml, im im getting the error below.  IM able to load an entity data, error occurs only when I use the join odi creates internally to identify employees for xml and address components

    XML file:

    <? XML version = "1.0" encoding = "UTF-8"? >

    < EMP >

    < Empsch >

    < employee >

    < EmployeeID 12345 > < / EmployeeID >

    < original > t < / initials >

    John < name > < / LastName >

    DOE < FirstName > < / name >

    < / employee >

    < address >

    < > 12345 as WorkPhone < / as WorkPhone >

    < WorkAddress > test 234 < / WorkAddress >

    < / address >

    < / Empsch >

    < / EMP >

    Topology: jdbc:snps:xml?f=C:/Temp/RR/Empsch.xml & s = Empsch & re = EMP & dod = true & nobu = false

    Error message:

    -5501: 42501: java.sql.SQLException: user has no privilege or object not found: EMPSCH. EMPSCHPK

    java.sql.SQLException: user has no privilege or object not found: EMPSCH. EMPSCHPK

    at org.hsqldb.jdbc.Util.sqlException (unknown Source)

    for org.hsqldb.jdbc.JDBCPreparedStatement. < init >(Unknown Source)

    at org.hsqldb.jdbc.JDBCConnection.prepareStatement (unknown Source)

    at com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.prepareStatement(SnpsXmlConnection.java:1232)

    at sun.reflect.GeneratedMethodAccessor65.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    to oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter$ OnDisconnectCommandExecutionHandler.invoke (OnConnectOnDisconnectDataSourceAdapter.java:200)

    to $Proxy2.prepareStatement (Unknown Source)

    at oracle.odi.runtime.agent.execution.sql.SQLCommand.doInitializeStatement(SQLCommand.java:83)

    at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:117)

    at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:111)

    at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:81)

    at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:1)

    at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:70)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)

    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)

    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)

    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)

    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)

    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)

    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)

    at java.lang.Thread.run(Thread.java:662)

    Caused by: org.hsqldb.HsqlException: the user has no privilege or object not found: EMPSCH. EMPSCHPK

    at org.hsqldb.error.Error.error (unknown Source)

    at org.hsqldb.ExpressionColumn.checkColumnsResolved (unknown Source)

    at org.hsqldb.QueryExpression.resolve (unknown Source)

    at org.hsqldb.ParserDQL.compileCursorSpecification (unknown Source)

    at org.hsqldb.ParserCommand.compilePart (unknown Source)

    at org.hsqldb.ParserCommand.compileStatement (unknown Source)

    at org.hsqldb.Session.compileStatement (unknown Source)

    at org.hsqldb.StatementManager.compile (unknown Source)

    at org.hsqldb.Session.execute (unknown Source)

    ... more than 27

    Please advice

    Thank you

    Fabien

    It is clear from the content of the xml file, you have given here. In this xml file, you have four type of complex. Two of them are employed and address. However the employee doesnot has nothing to do with the address that you have not added the relationship. That is why its failure. This isn't the fault of the ODI.

    Also I suggest not to use self-generated by ODI dtd that you might face problem in the future. For example, the address of XML type has 8 attributes, and 4 of them are not mandatory. This means that each of your xml file may have attributes between 4 and 8.  That's where ODI auto generated DTD fails.

    ComplexType element XML schema

    Thank you

    Chantal

  • ACL lost after reboot of the switch

    I have a Dell PowerConnect 5448. I created an acl using the CLI. I have telnet'ed in the switch and created and ACLs on port 19. This works well. He does his job and even after that I reload the switch (or the loss of power of the switch), the acl on the 19 port is never lost.

    I now copy the same acl using the graphical interface, using a web browser - Dell OpenManage Switch Administrator for different ports. For example, I click on Switch - network - links ACL security. I can see the acl on port 19 I created using the cli interface. I use the web gui to copy this acl in a lot of different ports. "bind acl at interface" other ports on the switch. I save the changes. But, after I restart the switch (or lose power to the switch), these "copied" ACLs are lost. I still have the original acl I have created using the CLI, but lost the ones I copied to other ports by using the GUI.

    Is this a normal behavior to lose these 'copied acl"using the web gui?

    I never lose the acl that I created using the CLI, but after a loss to reboot or power, I always lose the acl that I copied using the web gui. Why? Am I missing a step?

    Thanks in advance for any advice or suggestions!

    By clicking on apply changes is just going to implement changes to the running configuration. To save the changes so that they remain after a reboot, the running configuration must be copied to the startup configuration.

    See you soon.

  • Oracle cannot validate the composite foreign key when NULLs comes into play

    Hi all

    When a composite foreign key is used in a schema. Oracle does not check the necessary rules correctly, as indicated below.

    create the table parent_tab
    (
    x int,
    int y,
    z int,
    primary key for constraint p_key (x, y)
    );

    create the table child_tab
    (
    x int,
    int y,
    z int,
    Constraint f_key foreign key (x, y) refers to parent_tab (x, y)
    );

    insert into child_tab (x, y, z) values (1, NULL, 4);
    commit;

    Select count(x|| y) from parent_tab;

    0


    Select count(x|| y) from child_tab;

    1

    Tom Kyte says the following for an explanation.

    The database is unable to validate a foreign key when it is partially null. To assert the rule MATCH FULL for composite foreign keys, you add a constraint to your table:

    The constraint will ensure that either

    • All columns have NULL value in the foreign key, or
    • None of the columns are set to NULL in the foreign key

    As long as this constraint is in place, your foreign key will work as you probably think that it should.

    However, it does not explain WHY? I mean why Oracle is unable to validate the foreign key when it is partially NULL?

    Concerning

    John Spencer wrote:

    He thinks logically.  You have a composite PK of two columns, so 1, 1 is a valid key, as these are the 1, 2 and 1, 3 and 1.42.  In the child table, you have a line 1, the null value.

    What parent should have the child?

    I wish that it would be logical about this. Unfortunately, Oracle applies different rules in different cases. For example, parent of the value 1, NULL value and 1 child, NULL is not the same as NULL is equal or not equal to null. At the same time, one constraint unique index / unique Treaty, 1, NULL, equal to another 1, NULL NULL treatment as being equal to NULL and don't let several lines with 1, the NULL value.

    SY.

  • Rename the Parent - foreign key columns

    I need to rename a bunch of parent columns that are referenced in the foreign key constraints. Is it possible to get the child column get automatically updated with the new name of the parent column?

    IE, I have a table named 'subject' with a PK named subjectID. I have a child table addresses that child has a FK to subject.subjectID and the column is automatically named subject_subjectID.

    Now, I want to rename just subject.subjectID "ID". I want this rename also take place in the referencing table "address" so the name change should be translated as subject_ID.


    Thank you!

    You can set {ref column} as for 'Foreign key column' "tools > preferences > Data Modeler > designation standard > Templates.
    And to request that it uses "Apply to keys and constraints naming standards" in the context menu for relational model in the browser tree. Select only "foreign key column" it.

    Philippe

  • Q10 (BBM, CAMERA, APPWORD) blackBerry icons disappears after activation of the control of life private Blackberry q10

    Hello

    After you activate the protection feature of personal information on 0 s 10.3.2.2474... Most of my icons are missing. even after the deactivation of control of life private on the device. Please, I beg you, I await your quick response.

    Concerning

    Obinna

    Parental control is not a privacy control. It is intended to disable certain features, a parent doesn't want a child to help. So, if you enable the control for BBM it will remove the icon. If you turn it on the browser, it will remove the browser, etc. You may completely disable parental control.

  • primary-foreign key relationship

    Can we create composite foreign key on a primary key? How?

    Published by: 854624 on April 25, 2011 20:30

    Hello

    854624 wrote:
    Can we create composite foreign key on a primary key? How?

    Ensure that:

    CREATE TABLE     city
    (     city_name     VARCHAR2 (20)
    ,     state_abbr     VARCHAR2 (2)
    ,     PRIMARY KEY (city_name, state_abbr)
    );
    
    CREATE TABLE     address
    (     address_id     NUMBER
    ,     city_name     VARCHAR2 (20)
    ,     state_abbr     VARCHAR2 (2)
    ,     CONSTRAINT address_city_fk
              FOREIGN KEY     (city_name, state_abbr)
              REFERENCES city (city_name, state_abbr)
    );
    
  • Keyboard locked after activation of the sticky keys

    Hi, I accidentally cut on my sticky keys. I hit the SHIFT key five times, according to the microsoft.com; However, it will not unlock. When I try to type, I hear a noise, but I don't see anything happening. Any suggestions?  Thank you!

    Hi lgriffith1297,

    Thank you for visiting Windows Vista Microsoft answers forum.

    Sticky keys are enabled on the computer and that is why you are getting the beep when you try to type something using the keyboard. You must disable sticky keys.

    To activate deactivate StickyKeys, follow these steps:

    1. click on start and then click Control Panel.

    2. click on 'Ease of access' and then click 'accessibility '.

    3. under "Explore all settings" click on "Make the keyboard easier to use".

    4. under "make it easier to type", uncheck "Turn on Sticky Keys" and click Save.

    Reference link:
    http://www.Microsoft.com/enable/training/windowsvista/StickyKeys.aspx

    Please let us know if it helps.

    Thank you and best regards,
    David

  • Sceen empty after activation of the standby mode

    What sleep mode, the monitor was turned off in sleep mode. After reactivation is by moving the mouse or punch a button on the keyboard, the PC wakes up and monitor on, but the empty guard monitor, nothing displayed on the monitor. The PC seemed wakes upward normally, as the indicator of power turned back and the hard drive flashes. I tried pressing all possible keys on the keyboard, no help. Can someone give me an idea?

    Thank you.

    Charles_cwk

    Message edited by Wendy on 11/11/2009 07:40

    Hello Glenn_XYZ, thank you very much for your information, THIS WORKS FOR ME TOO, I have disabled this feature for almost a year, and I works again after I have roll back the display to its older version driver (ver: 7.15.11.7521 to the worm: 7.15.11.65). My OS is Vista 32 bit.

    I underatand there have friends in this forum also have the same problem, try method in the above message.

    I recently faced another problem: IE8 stop working intermittently and had to close, it happened especially often when reading emails. It happened again in a few minutes, even I close all browser windows and re-open again. But especially it closed only my current working window and recovered with my previous windows.

    I have no idea about it and try using FireFox instead of IE8 at the moment. Can anyone help please? Thank you!

    Charles_CWK

  • 2 GB after activation of the student?

    Hello

    I use before activating student on two PC trial version.

    And after update my office applications have allowed and work well but my library does not (when I try use say "you need upgrade") and creative cloud storage is still 2 GB?

    Thank you

    Vladimir.

    P. S.

    I always use trial version on my second PC (laptop)!

    I buy student CC in time what normal 2 GB is for the student plan

    But my library must work and solve this way:

    CTR + ALT + SHIFT + click to open photoshop or any which the adobe application icon to start... and click on Y on the notification.

  • L540 missing WiFi/BT after activation of the mode standby

    Hello

    I use L540 running Windows 8.1 64bits. After waking from sleep, my Intel(r) Dual Band Wireless-N 7260 does not work. Operating system detects the NIC, but Device Manager shows the exclamation point. Troubleshooting Auto does not work. There are two ways to fix this problem - stop and restart PC or device uninstallation/installation using Device Manager. All the drivers/firmware is up to date.

    Do you have an idea what to do?

    Hi Aleksandarm,

    Welcome to Lenovo Community!

    According to the request, we understand that you are facing problem with the Wifi does not work after wake up mode standby on your ThinkPad L540.

    Please check is the (allow the computer to turn off this device to save power) is checked, to proceed to the steps you have to go Device Manager expand network adapter and right click on Intel(r) Dual Band Wireless - N 7260 go to properties, click power management and change the setting.

    Can you please provide us with the Dual Band Wireless-N 7260 (R) driver version.

    Please let us know the results once you have completed the steps above.

    Best regards

    Agnes Kumar

Maybe you are looking for

  • How to make the downloaded games to open?

    Downloaded the new mini wartune, and it used open.

  • How to save downloads to a flash drive?

    I use Ubuntu 10.4LTS & Firefox 9, when downloading a file in the box from Firefox I get 'open with' or 'save' window; but I want to save to a flash drive * NOT * downloads. How to achieve what should be a simple task? Thank you.

  • Change username on Satellite U400-15B

    I made a mistake with the laptop that my wife now uses Today I tried to help him change the settings of computer of mine to his name. This has simply resulted in a disaster now because when I turned it on it just displays the screen of Windows 7 on t

  • RAM upgradation

    I have HP G62 Notebook PC Product number: XT795PA #ACJ Serial number: [edited by Moderator serial number] OS: Windows 7 Home Basic 64 - bit Service Pack 1 Processor: Intel (r) Core i3 CPU M 370 @ 2.40 GHz motherboard: 1426 54,57 System BIOS: F.37 Gra

  • G7-2320DX wifi issues after decommissioning of Win7

    Recently, I've killed my G7-2320DX of Win8 to Win7.  I got the drivers off the internet with the help of google and the HP Forum.  Everything works except the WiFi.  In my device manager everything is good, except for a "PCI Device".  The PCI device