Missing Primary Keys after migartion of a MSAccess 2003 DB to oracle 9.i

I migrate a MS Access 2003 DB to Oracle 9.i with the Oracle Migration Workbench 10.1.0.4.0. on a Windows 2k PC. All the Primary Keys of my tables are missed after migration and no Foreign Key is created.
In the MS Access Source Model Window of OMWB are the Primary Keys detected but in migration script or in oracle db after migration there is no Primary Key applied.
Dos anyone kows the reason for this behavior.
Thanks for help in advance.
Message was edited by:
user468547
Message was edited by:
user468547

Here the summary of the Model.
Not mentioned parts are sero in the Oracle Model
MS Access Source Model
Table Violation Rules (0)
Relations ( 48)
Indexes (96)
Primary Keys (38)
Queries (0)
Tables (38)
Oracle Model
Database (1)
Check Constraints (0)
Foreign Keys (48)
Indexes (96)
Primary Keys /Unique ... (0)
Tables (38)
Types (2)
In the migration scripts the commands for creation of Foreign Keys are avaliable and delievers the error message ORA-02270. e.g.
REM
REM Message : Failed to create foreign key: dbwines.TBL_SERVICEPROFILESTBL_UETYPES; ORA-02270: no valid Primr- o. eindeutiger Key for this column
Here the content of the error.log
** Workbench Repository : Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Repository Connection URL: jdbc:oracle:thin:@pcathlon17002:1521:ORCL
** The following plugins are installed:
** Microsoft Access 2.0/95/97/2000/2002/2003 Plugin, Production Release 10.1.0.4.0
** Active Plugin : MSAccess
oracle.mtg.migration.MigrationSQLException: Failed to get information about Oracle Model Object.
Erschpfte Ergebnismenge:Failed to get information about Oracle Model Object.
Erschpfte Ergebnismenge
     at oracle.mtg.oracleModel.server.OracleModelImpl.getObjectInformation(OracleModelImpl.java:476)
     at oracle.mtg.oracleModel.ui.OracleModelTypes.getAllChildren(OracleModelTypes.java:95)
     at oracle.mtg.plugin.ui.WorkbenchAllTreeNode.getChildren(WorkbenchAllTreeNode.java:133)
     at oracle.mtg.migrationUI.TreeDataSource.getItemCount(TreeDataSource.java:128)
     at oracle.ewt.dTree.DTreeDeferredParent.getItemCount(Unknown Source)
     at oracle.ewt.dTree.DTreeBaseItem.isExpandable(Unknown Source)
     at oracle.ewt.dTree.DTreeButtonDecoration.getHasButton(Unknown Source)
     at oracle.ewt.dTree.DTreeButtonDecoration.paintDecoration(Unknown Source)
     at oracle.ewt.dTree.DTreeStackingDecoration.paintDecoration(Unknown Source)
     at oracle.ewt.dTree.DTree.paintCanvasInterior(Unknown Source)
     at oracle.ewt.EwtComponent.paintInterior(Unknown Source)
     at oracle.ewt.lwAWT.SharedPainter._paintInterior(Unknown Source)
     at oracle.ewt.lwAWT.SharedPainter.paintExtents(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent._paintComponent(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent.paint(Unknown Source)
     at oracle.ewt.EwtComponent.paint(Unknown Source)
     at oracle.ewt.lwAWT.SharedPainter.paintExtents(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent._paintComponent(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent.paint(Unknown Source)
     at oracle.ewt.EwtComponent.paint(Unknown Source)
     at oracle.ewt.lwAWT.SharedPainter.paintExtents(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent._paintComponent(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent.paint(Unknown Source)
     at oracle.ewt.lwAWT.SharedPainter.paintExtents(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent._paintComponent(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent.paint(Unknown Source)
     at oracle.ewt.lwAWT.SharedPainter.paintExtents(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent._paintComponent(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent.paint(Unknown Source)
     at oracle.ewt.EwtComponent.paint(Unknown Source)
     at oracle.ewt.lwAWT.SharedPainter.paintExtents(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent._paintComponent(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent.paint(Unknown Source)
     at oracle.ewt.lwAWT.SharedPainter.paintExtents(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent._paintComponent(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent.paint(Unknown Source)
     at oracle.ewt.EwtComponent.paint(Unknown Source)
     at oracle.ewt.lwAWT.SharedPainter.paintExtents(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent._paintComponent(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent.paint(Unknown Source)
     at oracle.ewt.EwtComponent.paint(Unknown Source)
     at oracle.ewt.lwAWT.SharedPainter.paintExtents(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent._paintComponent(Unknown Source)
     at oracle.ewt.lwAWT.LWComponent.paint(Unknown Source)
     at oracle.ewt.lwAWT.SharedPainter.paintExtents(Unknown Source)
     at oracle.ewt.lwAWT.SharedPainter.paint(Unknown Source)
     at oracle.ewt.lwAWT.BufferedApplet.paint(Unknown Source)
     at oracle.ewt.lwAWT.BufferedApplet.update(Unknown Source)
     at sun.awt.RepaintArea.paint(Unknown Source)
     at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
     at java.awt.Component.dispatchEventImpl(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)
** Shutdown : Mon Apr 10 18:36:10 CEST 2006
** Oracle Migration Workbench
** Production
** ( Build 20050629 )
** OMWB_HOME: C:\oracle\ora92\omwb
** user language: de
** user region: null
** user timezone:
** file encoding: Cp1252
** java version: 1.4.2_04
** java vendor: Sun Microsystems Inc.
** o.s. arch: x86
** o.s. name: Windows 2000
** o.s. version: 5.0
** Classpath:
..\lib\boot.jar
** Started : Mon Apr 10 18:36:14 CEST 2006
** Workbench Repository : Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Repository Connection URL: jdbc:oracle:thin:@pcathlon17002:1521:ORCL
** The following plugins are installed:
** Microsoft Access 2.0/95/97/2000/2002/2003 Plugin, Production Release 10.1.0.4.0
** Active Plugin : MSAccess
EXCEPTION : query()java.sql.SQLException: Stream wurde schon geschlossen
select MESSAGE_TYPE, LOG_ID, TO_CHAR(LOG_DATE, 'dd-MM-yyyy hh24:mi:ss') LOG_DATE, PROJECT_ID, PHASE, SUBPHASE, LOG_MESSAGE, OBJECT_TYPE, OBJECT_ID, CONTEXT_DATA from MTG_LOG_TABLE WHERE PROJECT_ID = 1 and (MESSAGE_TYPE != 9999) ORDER BY LOG_ID ASC
java.lang.NullPointerException
     at oracle.mtg.migration.LogDisplayUtility.convertToDisplayStrings(LogDisplayUtility.java:185)
     at oracle.mtg.migrationServer.LoggingImpl.getLogs(LoggingImpl.java:482)
     at oracle.mtg.migrationUI.LoggingPane.setupLogTable(LoggingPane.java:291)
     at oracle.mtg.migrationUI.LoggingPane.setupLogTable(LoggingPane.java:280)
     at oracle.mtg.migrationUI.ProgressDialog.commandStarting(ProgressDialog.java:117)
     at oracle.mtg.migrationUI.MigrationUI.commandStarting(MigrationUI.java:2427)
     at oracle.mtg.migrationUI.MigrationWizard.doMigrate(MigrationWizard.java:401)
     at oracle.mtg.migrationUI.MigrationWizard.runDialog(MigrationWizard.java:293)
     at oracle.mtg.migrationUI.ActionMenuHandler._migrate(ActionMenuHandler.java:340)
     at oracle.mtg.migrationUI.ActionMenuHandler._capture(ActionMenuHandler.java:291)
     at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:85)
     at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
** Workbench Repository : Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
Repository Connection URL: jdbc:oracle:thin:@pcathlon17002:1521:ORCL
** The following plugins are installed:
** Microsoft Access 2.0/95/97/2000/2002/2003 Plugin, Production Release 10.1.0.4.0
** Active Plugin : MSAccess
Thaks for help in advance
Regards Steffen

Similar Messages

  • Missing primary keys after import

    Hi,
    We receive a .dmp file from another company each night. The process changed when they started to obfuscate some sensitive data. But since then we are finding all the tables are missing their primary keys.
    I really would like to eliminate our import process as the cause.
    Has anyone ever heard of this kind of problem before? What was the cause/scenario.
    Your help is greatly appreciated.
    Brian

    If you are not getting any errors during the import process, it is pretty unlikely that the import process is at fault assuming that hasn't changed. Make sure that INDEXES=Y and CONSTRAINTS=Y are specified (which is the default).
    You can use the SHOW=Y parameter to have the import utility write the DDL contained in the dump file to a text file where you can manually verify that the primary key constraints you were expecting are indeed missing.
    Justin
    Edited by: Justin Cave on Nov 10, 2008 3:44 PM
    typo

  • Missing primary key column in created form?

    Please help. I am a newbie in apex.
    When i create form and view it later I am missing primary key column.
    HOw to make it show?
    Thanks in advance.

    Hi,
    While creating the form based on a table/view, what have you chosen to populate the primary key value? Existing Triggers or Existing Sequences or Custom PL/SQL function?
    Can you check for the Get PK pl/sql process in the page processing region of the related form page? If that function is missing then do the following steps to create the same,
    Step 1 : Create a new pl/sql process.
    Step 2 : Choose the Process Point as, On Submit After Computations and Validations.
    Step 3 : Write the following block,
    declare
      function get_pk return varchar2
      is
      begin
        for c1 in (select TEST_SEQ.nextval next_val
                   from dual) -- Create a new sequence for your requirement.
        loop
            return c1.next_val;
        end loop;
      end;
    begin
      :P3_TEST := get_pk;  -- Change the item name for your page.
    end;After doing all the above, try executing the page.
    Regards,
    Sakthi.

  • Query to return list of all missing primary key ids from table T1

    I found this query online that returns a start and stop for a range of all missing primary key id values from table T1. However i want to rewrite this query to return a whole list of all the missing primary key ids and not a start and stop range. any help plz?
    select strt, stp
    from (select m.id + 1 as strt,
    (select min(id) - 1 from T1 x where x.id > m.id) as stp
    from T1 m left outer join T1 r on m.id = r.id - 1 where r.id is null)x where stp is not null

    with t as
              select  1 as id from dual union all
              select  2 as id from dual union all
              select  3 as id from dual union all
              select  5 as id from dual union all
              select  8 as id from dual union all
              select 10 as id from dual union all
              select 11 as id from dual union all
              select 20 as id from dual
    select  id_start + level missing_id
      from  (
             select  id id_start,
                     nullif(lead(id) over(order by id) - 1, id) id_end
               from  t
      start with id_end is not null
      connect by prior id_start = id_start
             and prior dbms_random.random is not null
             and level <= id_end - id_start
    MISSING_ID
             4
             6
             7
             9
            12
            13
            14
            15
            16
            17
            18
    MISSING_ID
            19
    12 rows selected.Or:
    with t as
              select  1 as id from dual union all
              select  2 as id from dual union all
              select  3 as id from dual union all
              select  5 as id from dual union all
              select  8 as id from dual union all
              select 10 as id from dual union all
              select 11 as id from dual union all
              select 20 as id from dual
    select  id_start + level - 1 missing_id
       from  (
              select  min(id) id_start,
                      max(id) id_end
                from  t
       connect by level <= id_end - id_start
    minus
    select  id
       from  t
    MISSING_ID
             4
             6
             7
             9
            12
            13
            14
            15
            16
            17
            18
    MISSING_ID
            19
    12 rows selected.SY.

  • Help me to return the primary key after insert the row

    Hi
    I am using JDBC, with oracle database. i have welformed normalization tables .i am inserting parent table with dynamic sequence number as primary key .after inserting i need inserted row primary key .how to get the inserted row primary key with out using select statement
    please help me
    Thanks in advance
    Edited by: 849614 on Apr 4, 2011 5:41 AM
    Edited by: 849614 on Apr 4, 2011 5:54 AM

    Hello
    If I undestand you, I think you should do this:
    Connection conexion = dataSource.getConnection();
    int idCenter=-1;
    String query = "Begin Insert into CENTER (NAME_CENTER) values (?) returning ID_CENTER into ?; end";
    callableStatement = conexion.prepareCall(query.toString());     
         callableStatement.setString(1, "Center name");               
         callableStatement.registerOutParameter(2, java.sql.Types.INTEGER);
              callableStatement.executeUpdate();
              idCenter=callableStatement.getInt(2);
    This way, you have in idCenter the primary key of the line that has just been inserted.
    Edited by: cris on 05-abr-2011 5:28

  • Missing Primary Key

    Hi,
    I have this situation where sometimes the primary key is missing or jumps sequence during record saving. It happens occasionally but I do not know when and how it happens.
    The primary key is generated automatically by sequence. For example, last month after the primary key 351 is being saved into table CUSTOMER, the next record is using primary key number 400.
    Earlier this week, the situation happened again. Primary key 904 was recorded into CUSTOMER table. But, the next primary key was 950. I do not know where are primary keys from 905 until 949 went missing.
    I hope anyone could show me how to rectify this.
    Thank you. :-)

    Sequences used Cached values. If a sequence is unused for some time, the cached values may get aged out of the shared pool, resulting in a seeming "loss" of intermediate values (the next call to the sequence will cache values above those just lost).
    Cached values are also lost at shutdown.
    Another situation is when a sequence is incremented but the transaction is not committed but is instead rolled back (either manually or because of some other failure). The incremented sequence value does not get rolled back.
    Sequences are designed to give Unique names. By default, they are not intended to guarantee consecutive numbers.
    Even if you define a sequence as a NOCACHE sequence, you can still lose the last incremented value on a transaction rollback.
    note: A Sequence as a Primary Key is an artificial PK (a "synthetic PK") but is sometimes necessary.
    Hemant K Chitale
    Edited by: Hemant K Chitale on Jul 6, 2012 4:16 PM
    Edited by: Hemant K Chitale on Jul 6, 2012 4:17 PM

  • Violation of Primary Key after a successful Update of BP

    When I've updated a BP via VB.net is there something I should do with the BP object after I've done an update?
    I can't seem to do consecative updates or I get the following error:
    Violation of PRIMARY KEY constraint 'CRD1_PRIMARY'. Cannot insert duplicate key in object 'CRD1'
    This is the code I use for updating:
    For i = 0 To oBusinessPartner.Addresses.Count - 1
                oBusinessPartner.Addresses.SetCurrentLine(i)
                If (oBusinessPartner.Addresses.AddressType = SAPbobsCOM.BoAddressType.bo_ShipTo) Then
                    '** Check only SHIP TO Addresses
                    If (oBusinessPartner.Addresses.AddressName = cbSAPShipTo.SelectedItem) Then
                        '** Address User wishes to update
                        oBusinessPartner.Addresses.AddressType = SAPbobsCOM.BoAddressType.bo_ShipTo
                        oBusinessPartner.Addresses.AddressName = lSAPAddressItems(iIndex).Company
                        oBusinessPartner.Addresses.Street = lSAPAddressItems(iIndex).Address1
                        oBusinessPartner.Addresses.City = lSAPAddressItems(iIndex).City
                        oBusinessPartner.Addresses.ZipCode = lSAPAddressItems(iIndex).Postal
                        oBusinessPartner.Addresses.State = lSAPAddressItems(iIndex).Prov
                        oBusinessPartner.Addresses.Country = lSAPAddressItems(iIndex).Country
                    End If
                End If
            Next
            lRetCode = oBusinessPartner.Update()
    I check to make sure the address i want to up date is a ShipTo address, then I check to make sure that the item I am editing matches the one in the BPObject's CurrentLine.
    Then I just change the values and .Update() it
    After I've done this though, if I try to update another ShipTo address in the same BP, it comes up with that error.
    Should I kill the BP object and reinitialize it?

    Hi Tyler,
    I totally understand what you wanna do.
    The clauses which you use is trying to add a new address in the name of existing address.
    You have to do 'setcurrentline' clause, I guess.
    But now, you don't know 'what is the ShipTo line'.
    Then, I think you'd better use some simple, easy but timely expensive way.
    1. Count the records in CRD1 under conditions of the cardcode.
    -> then you can get the number of addresses of the business partner.
    2. use a loop (while, for.. doesn't matter.)
    -> Now you can use setcurrentline clause.
    3. If the addressname is 'ShipTo', then you can update the record, and exit loop.
    pseudo code comes below.
    sql = "Select count(*) FROM OCRD WHERE cardcode = 'aaa'"
    ors.doquery sql
    for i=1 to ors.fields.item(0)
    oBusinessPartners.Addresses.setcurrentline(i)
    if obusinessPartners.Addresses.AddressName = "ShipTo" then
    oBusinessPartners.block = "newBlock"
    exit for
    end if
    next i
    Hope this useful for you.
    Regards,
    Hyunil choi.

  • Bug Report: APEX_APPLICATION_SUPP_OBJ_CHCK is missing primary key column

    Hi,
    the APEX dictionary view APEX_APPLICATION_SUPP_OBJ_CHCK is missing the primary key column INSTALL_ID.
    Actually it's in the view but commented out.
    Regards
    Patrick
    My APEX Blog: http://www.inside-oracle-apex.com
    The APEX Builder Plugin: http://builderplugin.oracleapex.info/
    The ApexLib Framework: http://apexlib.sourceforge.net/

    Hi Patrick,
    >> Just my (highly) trained eyes
    I knew I don’t have a chance :)
    >> Actually it's the APEX Essentials/APEX Advisor tool which is failing because I can't uniquely identify a record in the dictionary view.
    To find that out in the same day the patch is released is a bummer, but I hope you’ll find a way to work around it. Unfortunately, I can’t really help you there.
    Thanks,
    Arie.

  • How to get the new Primary Key after the Automatic Row Processing (DML)

    Hi,
    I have a nice master detail form.
    I want, immediately after submitting the page when creating a new record in the master table, that the user may input the associated table (the detail table). For that I have created a branch that goes back to the very same page after creating the record (ie submitting the page with the button Create). In the Action of the branch, i have put P30_FICHE_ID (the item containing the primary key of the master table) with its value : &P30_FICHE_ID.
    Unfortunately I see that the item is not populated with the very new primary key. it seems normal becaus after submitting the page the tiem is not populated. This is my question : how to retrieve the newly created primary into the item P30_FICHE_ID in order to begin immediately to add rows to the detail table ?
    Hope I'm clear. My english not perfect.
    Thank you for your kind help !
    Christian
    Edited by: Christian from France on Oct 16, 2009 6:36 AM

    Christian,
    After creating Master-detail form, goto your Detail page. In this page you can see one conditonal brach which will point to 'Master' page.
    Edit this branch and here you can see this branch fires when request is in 'SAVE,DELETE,CREATE' (in Expression1). Now change the value in Expression1 to 'SAVE,DELETE'. This will do the needful :-)
    Cheers
    Hari
    Edited by: Hari_639 on Oct 16, 2009 8:02 PM

  • How can i set primary key after creating a table ?

    hi friends
    thank you for all the support you have given me . i have doubt ,can we set primary key for a column after creating the table
    I have added a column named idno after creating the table . i want to set that column as primary key . i tried this
    table name = address
    column name = idno
    ALTER TABLE ADDRESS MODIFY (idno PRIMARY KEY(idno))
    ,but not working
    if anbody knows the solution pls reply
    thanks and regards
    nev

    how does the other users know which is the primary key for this table?....the other user needs to execute this query...and modify the query accordingly
    select aa.table_name,aa.column_name,aa.constraint_name,bb.constraint_type
    from user_cons_columns aa,user_constraints bb
    where aa.constraint_name = bb.constraint_name
    and aa.table_name = 'TEST_EMP' and bb.constraint_type = 'P';

  • Returning autogenerated primary key after insertion

    Hi
    I am inserting a row into the database using simple jdbc statement. The primary key for that row is autogenerated by the database.
    Is there any way to get the primary key and return it to the user?

    PreparedStatement ps = con.preparedStatement("INSERT INTO Table (title, name) VALUES ("test", "name")", PreparedStatement.RETURN_GENERATED_KEYS);
    ps.executrUpdate();
    ResultSet rs = ps.getGeneratedKeys();
    while (rs.next()) {
    primaryKey = rs.getInt(1);
    }

  • Bug Report: View APEX_APPLICATION_TEMP_REPORT missing Primary Key

    Hi,
    the dictionary view APEX_APPLICATION_TEMP_REPORT is missing the ID column of the underlaying table. Makes it quite hard to join from APEX_APPLICATION_PAGE_REGIONS without the ID. The template name is also no real workaround, because it's not unique if you have multiple themes in the application.
    Patrick
    My APEX Blog: http://www.inside-oracle-apex.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://apexplugin.sourceforge.net/ New!

    Noted, bug filed, thanks.
    Scott

  • Missing Primary Key migration from mssql2000 to Oracle10

    I've been working with sql developer + migration workbench ver 1.1. There were some problems with it, but PK where created. sqldeveloper ver 1.2 migration from sql works quicker, but it misses PK creation.

    This seems to affect migrations from MS Access as well, so I guess it applies to all source db types. If it helps, PK's are created with SD 1.2.0 / 28.54, but not with 1.2.0 / 29.98.
    As a related point it would be useful to show the constraint metadata in the captured and converted model info, rather than only see it as part of the gen script ?
    Cheers
    Jules

  • How to find out the primary key of oracle apps tables

    Hii,,
    My Question is How to find the primary key in the apps table...Is there any Query or other way to find out???
    for eg.
    I want to find out the primary key of the AP_INVOICES_ALL table...just tell me how can i get the primary key of this table.
    I am currently using toad for the query..
    Please guide me...

    you can define the primary key when you create table
    or add the primary key after the table creation by 'ALTER TABLE ... ADD constraint pk_nme primary key (col1, col2)';
    you could use below sql to check the detail of primary key:
    1) check out the table definition directly:
    select dbms_metadata.get_ddl('TABLE','EMP') FROM DUAL;
    2) check out the columns of primary key:
    select * from user_constraints where constraint_type='P' AND table_NAME='EMP';
    select * from user_cons_columns where CONSTRAINT_NAME='PK_EMP';And BTW, it is madam, not sir. :)
    Edited by: PhoenixBai on Dec 17, 2010 1:07 PM

  • Primary key field problem in DBSchema Wizard

    Hi,
    I am using Sun ONE studio 4 update 1, EE.
    I have generated schema using the Database Schema Wizard.
    The generated table representations does not recognise the primary key fields so I can not map my CMP to any table :-(
    Is this a bug?
    because I have generated schemas from 3 different databases (IBM, MySQL, SAP) and the tables have primary key fields.
    When I get a connection in Runtime Pane under Database node, I can see the primary fields are highlighted with red color.
    However, when I obtain the schema using, New->Database->Database Schema, there are no primary key fields generated.
    Anyone have any ideas, work around?
    Thanks
    Tex...

    First, thanks for posting the code that lets us reproduce your test. That is essential for issues like this.
    Because the primary key is global you will not be able to use
    INCLUDING INDEXES
    WITH VALIDATION;And you will need to add the primary key to the temp table
    ALTER TABLE DEMO_INTERVAL_DATA_LOAD_Y ADD CONSTRAINT IDX_DEMO_ROLL_Y PRIMARY KEY (ROLL_NUM);The the exchange will work. You will need to rebuild the primary key after the exchange.

Maybe you are looking for