Data Modeler Difference script

I don't find in Data Modeler function to alter existing object in database. For example i have table in database, which contains two columns (ID, NAME). I add third column ADDRESS in project in Data Modeler, how can i add to database using Data Modeler?

you can look at online demonstrations http://www.oracle.com/technetwork/developer-tools/datamodeler/overview/index.html
and especially this one http://download.oracle.com/otn_hosted_doc/sqldev/importddl/importddl.html - it's for DDL file import however it's the same for database.
also look here How to update/alter database from Data Modeler?
Philip

Similar Messages

  • SQL Developer Data Modeler scripting

    Hi,
    I'm looking for a new modeling software for my company. SQL Developer Data Modeler (SDDM) has many features that fit my requirements. But there are some things that I'm not sure can be done. I work mostly with Oracle databases but still need to support some legacy and non-sql databases. Please look at problems below and tell me if and how those things can be achieved. Any suggestions for alternative solutions are welcome too.
    1) I need to be able process Database Model from command line without human intervention and starting any GUI applications, for example generate DDL script form the model. Does SDDM have any interface for that?
    2) I want to be able to export Database Model into a file in a custom (legacy) format.
    3) SDDM stores database description in xml files. Is xml format defined anywhere? Are xsd schema files availabe?
    4) Is there a SDK available that would allow reading SDDM Database Model into a custom application for further processing?
    5) Is there any Java library available that parses Oracle-11-compatible SQL and PL/SQL?
    Thank you in advance
    Tomasz Grygo

    Hi Kevin,
    thanks for sharing your thoughts. There will be much more advanced find/search facilities in next version of Data Modeler and scripts also will be covered.
    Philip

  • Sql Developer Data Modeler 3.0 EA1: Custom transformation script

    What is the object model used by:
    Tools -> Design Rules -> Transformations
    From looking at the examples (and guessing) I have managed to create ID attributes on all my entities, but how do I set its sequence number or set it as the primary key?
    entities = model.getEntitySet().toArray();
    for (var e = 0; e<entities.length; e++)
    entity = entities[e];
    att = entity.createAttribute();
    att.setName('ID');
    - Marc de Oliveira

    content of XML files:
    1) class described, parent class if there is one
    2)<property .../>
    describes property - set and get method, data type of property, default value
    3) <collection ... />
    describes collection of objects belonging to class - 5 collections are defined in Table.xml - columns, indexes, table check constraints, column groups and spatial definitions
    - get method - to get collection
    - create item method - method of described class used to create item for that collection; so for columns collection table.createColumn() will create column in table
    - other methods - add, move, remove if are defined
    4)other meta data
    definitions in 1) .. 4) are used by Oracle SQL Developer Data Modeler, so it'll be wrong to modify those xml files
    5)<roproperty ../>
    Data Modeler doesn't parse/process these definitions, we decided to not filter them out however you should not rely that much on them
    6)some junk left
    For each object you can set your own properties and they will be persisted (also included in compare/merge in versioning) together with other information for object - look at "template table" example in transformation scripts. Here are methods you can use:
    void setProperty(String key, String value);
         String getProperty(String key);
         boolean hasProperty(String key);
         boolean hasProperty(String key, String value);
         void removeProperty(String key);
         void clearProperties();
         Iterator getPropertyNames();
    Philip

  • Differences between operational systems data modeling and data warehouse da

    Hello Everyone,
    Can anybody help me understand the differences between operational systems data modeling and data warehouse data modeling>
    Thanks

    Hello A S!
    What you mean is the difference between modelling after normal form like in operational systems (OLTP) e. g. 3NF and modelling a InfoCube in a data warehouse (OLAP)?
    While in a OLTP you want to have data tables free of redundance and ready for transactions meaning writing and reading few records often, in an OLAP-system you need to read a lot of data for every query you do on a database. Often in an OLAP-system you aggregate these amounts of data.
    Therefore you use another principle for these database scheme. This is called star schema. This means that you have one central table (called fact table) which holds the key figures and have keys to another tables with characteristics. These other tables are called dimension tables. They hold combinations of the characteristics. Normally you design it that your dimensions are small, so the access  on the data is more efficent.
    the star scheme in SAP BI is a little more complex than explained here but it follows the same concept.
    Best regards,
    Peter

  • Experiences on first usage of Oracle SQL Developer Data Modeling

    Hi @ll,
    working with Quest Toad Data Modeler 2.25 over a year, I'm searching for a replacement with the ability to create ALTER TABLE... statements. Today I downloaded the standalone version and tried to compare my local database against our develoment server.
    Our usage scenario is that the development database can be changed by each developer. We have a trigger activated for monitoring (and logging) database changes. Currently the tested and released changes will be merged into the Toad data model manually by me.
    Using the Toad model, we create DDL scripts for the SAP supported databases: Oracle, MaxDB, MS-SQL and DB2.
    I'd like to facilitate this process.
    h3. Test 1
    1. Import the current model from the development database (User A), save it as XML
    2. Import the current model from my local database (User B), save it as XML
    3. Compare the XML models
    h4. Results
    a) each table is displayed as modified, although no difference is displayed in any column
    b) in the DDL, source tables are renamed with a "bcp_" prefix
    c) for NVARCHAR2, data types are changed (length from 756 to 510, 1800 to 1200)
    h3. Test 2
    1. Import the current model from the development database (User A), save it as XML
    3. Compare the imported model with the XML
    h4. Results 2
    a) The field attribute "Mandatory" changed from "true" to "false"
    h3. Test 3
    1. Import from database
    2. Compare against a XML scheme
    h4. Results 3
    a) Comparing shows the modified tables only - this works nearyl as expected
    b) still different length for datatype NVARCHAR2
    h3. Wish List
    a) the Open File dialog always opens in "My Files", better would be the last opened directory
    b) While starting the comparing, allow changing "source" and "target"
    c) Allow comparing two database schemes
    d) Support for MaxDB?
    Overall, this new tool looks very promising and I'm looking forward to testing the next versions ;-)

    Hi Christian,
    thanks for trying Oracle Data Modeling.
    EAR2 is released and NVarchar2 problem is fixed there. Also are fixed some problems related to your area of interest - applying differences to database.
    On your observations:
    1) each table is displayed as modified, although no difference is displayed in any column - column ordering could be changed, or some of table properties - you can check this by clicking on table node and you can look at details tab for more information
    2) in the DDL, source tables are renamed with a "bcp_" prefix - this is typical rename, create, copy pattern for applying changes that require restructuring of table and intermediate preserving of content. If it's not enough you can try "Advanced DDL" option which gives more control over the whole process - self controlled script with logging, restarting, execution window, error masking. You have option to unload table into file system and load it back after original table is recreated (LOB columns are not supported - we can add support if there is demand for that). Transformation function can be defined for columns with changed data type. There are few words about that in "Data Modeling overview" document (p.15) - http://www.oracle.com/technology/products/database/sql_developer/pdf/sqldeveloperdatamodelingoverview.pdf
    Regards,
    Philip
    Edited by: Philip Stoyanov on Nov 26, 2008 1:40 PM

  • Data Modeler: is it possible to compare physical models?

    Hello,
    We're looking for a new Data Modeling tool, as we will abandon Designer (for many different reasons...). The SQL Developer Data Modeling-tool looks very promising. Especially the "compare models" -tool looks interesting to create change-scripts for new implementations. What I don't find, however, is the possibility to generate typical physical attritutes, like permissions (resulting in grant-statements), tablespaces. Is this available? Is it possible at all? For your information: I've just downloaded the EAR 2 (version 1.5.1 build 525)
    Thanks in advance for your reply,
    Peter

    Peter,
    I would like to echo your feature request. I too spent many years with Designer and until SDDM came along, I was still using it for server model diagrams mostly. We always wanted to make sure that we have a record (model) of what was in a schema. We deploy to MANY environments - several for development, various phases of testing etc. and of course production and clones of production. It's really nice to run a utility of some sort that compares my model to an implementation. I might compare the same model to half a dozen environments. It helps me quickly pinpoint differences that aren't expected.
    I also like to ability to compare models with each other. We're all looking forward to the future of data modeling with SDDM!
    In some ways, SDDM is already ahead in the features department. I can version models in Subversion with the XML files. That’s HUGE!
    Maggie Tompkins, USMC

  • Data Modeler : Modifying the Table Report layout

    Hi ,
    I'm using SQL Data Modeler (DM) 4.0 EA .
    I used the File -> reports option to generate the reports on Table and in the report
    1) I couldn't see the column data type ? (Refer below table ) , Is there any options to bring on the Data Type in the Report ?
    No
    Column Name
    PK
    FK
    M
    Data Type
    DT
    kind
    Domain Name
    Formula
    (Default Value)
    Security
    Abbreviation
    1
    ID1
    P
    Y
    (10)
    LT
      2
    ID2
    F
    Y
    (10)
    LT
    3
    ID3
    Y
    (1)
    LT
    4
    ID4
    Y
    (10)
    LT
    5
    ID5
    F
    (20,4)
    LT
    2) In options to manage the Table report (Reports -> Manage). Currently I can only remove a heading (like Descriptions Notes ,columns,column comments.). Is there is any way to customize the report in such a way that I can remove some columns (mostly the empty ones) from the report and add the column comments along with the column table than a new column comments table.
    Please let me know  ,is there is an option to customize the report .
    Note: I even tried generating the report using the search then report , but it doesn't give a complete report (i was only able to generate a report on column or table name or constraints , not all together.)
    Thanks,
    Srinivasan.K

    Thanks for the immediate reply.
    I checked on the DM again, the report comes good for the one which has the data type . But now all my data type changed to UNKNOWN and lokks like ,due to this my table report is coming without the "Data Type".
    Can you please help me in fixing this unknown data type issue ?
    Table report for the ones with proper Data type:
    Columns
    No
    Column Name
    PK
    FK
    M
    Data Type
    DT
    kind
    Domain Name
    Formula
    (Default Value)
    Security
    Abbreviation
    1
    ID1
    Y
    NUMERIC (10)
    LT
    2
    SCRIPT
    Y
    VARCHAR (1024)
    LT
    3
    UPGRADE_S
    Y
    VARCHAR (10)
    LT
    4
    UPGRADE_D
    Y
    VARCHAR (250)
    LT
    5
    UPGRADING_F
    Y
    VARCHAR (20)
    LT
    6
    TIMESTAMP2
    Y
    Timestamp
    LT

  • Questions on the R12 Bank Data Model

    Hi All,
    I am trying to learn the R12 bank data model and have a couple of quns and was wondering if any of you can help me understand the same.
    I understand banks and bank branches are stored as party in hz_parties and all the other hz_* tables. The IBY_EXT_BANK_ACCOUNTS table (similar to hz_locations which just stores any physical address) purely stores any external bank accounts and the IBY_EXTERNAL_PAYEES_ALL table links the bank accounts to the supplier or the supplier site or the supplier party/party site.
    I also understand that internal bank accounts are stored in CE* tables.
    So,
    (1) What is the difference between IBY_EXT_BANK_ACCOUNTS and IBY_ACCOUNT_OWNERS table.
    (2) What is the significance of the IBY_PMT_INSTR_USES_ALL table? When does it actually get populated?
    (3) If the IBY_EXTERNAL_PAYEES_ALL stores only the link of banks and supplier (or supplier party), then where are the customer bank account details stored, because I dont see a column by name customer_id/customer_site_id or anything like that.
    (4) One another important thing is - on the IBY_EXTERNAL_PAYEES_ALL table I dont see a supplier_id in this table, so does it mean that this table stores only supplier site level bank information? So there is no way, we can store the supplier level bank information?
    Some of the assumptions I am making based on the various documentation available outside, please let me know if my assumptions are even wrong and please clarify the same.
    Thanks.
    Edited by: Srinivasa Vasu on Sep 17, 2009 7:02 AM

    Hi All,
    I am trying to learn the R12 bank data model and have a couple of quns and was wondering if any of you can help me understand the same.
    I understand banks and bank branches are stored as party in hz_parties and all the other hz_* tables. The IBY_EXT_BANK_ACCOUNTS table (similar to hz_locations which just stores any physical address) purely stores any external bank accounts and the IBY_EXTERNAL_PAYEES_ALL table links the bank accounts to the supplier or the supplier site or the supplier party/party site.
    I also understand that internal bank accounts are stored in CE* tables.
    So,
    (1) What is the difference between IBY_EXT_BANK_ACCOUNTS and IBY_ACCOUNT_OWNERS table.
    (2) What is the significance of the IBY_PMT_INSTR_USES_ALL table? When does it actually get populated?
    (3) If the IBY_EXTERNAL_PAYEES_ALL stores only the link of banks and supplier (or supplier party), then where are the customer bank account details stored, because I dont see a column by name customer_id/customer_site_id or anything like that.
    (4) One another important thing is - on the IBY_EXTERNAL_PAYEES_ALL table I dont see a supplier_id in this table, so does it mean that this table stores only supplier site level bank information? So there is no way, we can store the supplier level bank information?
    Some of the assumptions I am making based on the various documentation available outside, please let me know if my assumptions are even wrong and please clarify the same.
    Thanks.
    Edited by: Srinivasa Vasu on Sep 17, 2009 7:02 AM

  • Foreign key Mapping based on Data - in SQL Developer Data modeler

    Team
    Do SQL Developer Data modeler supports Foreign Key mapping based on the Data in the Schema rather defined at the DDL ? For e.g if we implement a Objects Relation ship mapping in Data base, we don't define Foreign keys at table creation.
    Toad does this feature through "AUTOMATIC FOREIGN KEYS MAPPING IN TOAD DATA MODELER" more info at (http://toadworld.com/Blogs/tabid/67/EntryId/905/Automatic-Foreign-Keys-Mapping-in-Toad-Data-Modeler.aspx)
    any one know how to implement through some scripts also helps me
    Regards
    Raj

    If you have table PKs defined and the candidate columns match those PK columns, then you can use the Discover Foreign Keys utility. Right mouse over the relational model name (node) in the left browser. It is about half way down the menu. I did a blog post about it last week on kentgraziano.com.

  • Issue in creating a custom data model from BP

    Hi Team
    We have a requirement to create a custom data model by copying data model BP. I have successfully created new data model ZP . I have copied the UI for searching from BP. Issue is when i search a business partner  ideally it should not display any entries because i have just created the data model, But it is taking entries from BP and getting displayed. Please let me know how to map data model to search UI. I dont see option USMD_MODEL here

    Hi Imran,
    actually that is not an issue but a designed feature. I'm afraid that you need to re-think your whole project. The explanations is rather simple:
    Data model BP in MDG is a so called Re-Use Area data modell. This means that active data (records that are currently not stored in a change request) are saved in existing SAP ERP data base tables like BUT000 for the business partner master data and LFA1 or KNA1 for Vendor or Customer master data.
    If you copy data model BP to ZP you still refer to the same active area. You will always find the same active objects - no matter which data model you are actually using for the user interface. The only difference wil occur for objects being currently processed in a change request. In that case a separation between BP and ZP is possible. But this won't help to solve your issue.
    From SAP side I can only recommend not to copy BP but to find a different way of integrating your project needs into BP.
    Best regards
    Michael

  • Invalid Name Pattern in SQL Developer Data Modeler

    I am using Data Modeler version 3.3.0.747, I have exported a couple of data models (logical and physical) to an Oracle 11.2.0.3 database. I used the Reporting_Schema_Permissions.sql file to define the ID that owns the repository. Each data model that I exported returned the successful export message.
    However when I use Oracle Data Modeler and connect (as a different user) to the repository to generate a report on one of the diagrams I immediately get an error returned. The error is (from the log file in datamodeler\log\datamodeler.log):
    2013-04-19 08:36:12,233 [Thread-18] ERROR ReportsGenerationDialog - Generating report from Reporting Schema exception - invalid name pattern: username.OBJECTS_LIST
    Where username is the name of the ID being used to generate the report (not the repository owner ID).
    I have created public synonyms on the repository tables and views (though I must have missed where that was a requirement) so the repository objects can be seen by other users.
    Has anyone encountered this and if so how did you resolve it. I have searched the web (and the Oracle forums) and so far had no hits on this issue. That seems to indicate that there is something I must have missed in the setup or such.
    Thanks

    Hi,
    I think you didn't grant EXECUTE to package and types. Here is full working script:
    DECLARE
    CURSOR cur IS SELECT table_name, owner FROM all_tables WHERE owner='<owner>';
    BEGIN
    FOR rec IN cur LOOP
    EXECUTE IMMEDIATE 'GRANT SELECT ON '||'<owner>'||'.'||rec.table_name||' to '||'<another_user>';
    EXECUTE IMMEDIATE 'CREATE SYNONYM '||'<another_user>'||'.'||rec.table_name||' FOR '||'<owner>'||'.'||rec.table_name;
    END LOOP;
    END;
    DECLARE
    CURSOR cur IS SELECT view_name FROM all_views WHERE owner='<owner>';
    BEGIN
    FOR rec IN cur LOOP
    EXECUTE IMMEDIATE 'GRANT SELECT ON '||'<owner>'||'.'||rec.view_name||' to '||'<another_user>';
    EXECUTE IMMEDIATE 'CREATE SYNONYM '||'<another_user>'||'.'||rec.view_name||' FOR '||'<owner>'||'.'||rec.view_name;
    END LOOP;
    END;
    DECLARE
    CURSOR cur IS SELECT type_name FROM all_types WHERE owner='<owner>';
    BEGIN
    FOR rec IN cur LOOP
    EXECUTE IMMEDIATE 'GRANT EXECUTE ON '||'<owner>'||'.'||rec.type_name||' to '||'<another_user>';
    EXECUTE IMMEDIATE 'CREATE SYNONYM '||'<another_user>'||'.'||rec.type_name||' FOR '||'<owner>'||'.'||rec.type_name;
    END LOOP;
    END;
    GRANT EXECUTE ON <owner>.pkg_osdm_utils to <another_user>;
    CREATE SYNONYM <another_user>.pkg_osdm_utils FOR <owner>.pkg_osdm_utils;
    There is no document for reporting repository install process. If you are exporting design for first time, the repository is automatically created for you.
    When you get new version of DM you can
    1. Use new repository
    2. Upgrade existing one. If so, the simplest variant is to run /datamodeler/reports/DMRS_Upgrade_Script_<latest_vesrion>. Eventually compile single stored procedure.
    Another variant for upgrade is with running osddm_upgr.sql, but there is some error, which is going to be fixed in the next release.

  • Sharepoint 2013 Reporting Services & OLAP Cubes for Data Modeling.

    I've been using PowerPivot & PowerView in Excel 2013 Pro for some time now so am now eager to get set up with Sharepoint 2013 Reporting Services.
    Before set up Reporting Services  I have just one question to resolve.
    What are the benefits/differences of using a normal flat table set up, compared to an OLAP cube?
    Should I base my Data Model on an OLAP Cube or just Connect to tables in my SQL 2012 database?
    I realize that OLAP Cubes aggregate data making it faster to return results, but am unclear if this is needed with Data Modeling for Sharepoint 2013.
    Many thanks,
    Mike

    So yes, PV is an in-memory cube. When data is loaded from the data source, it's cached in memory, and stored (compressed) in the Excel file. (also, same concept for SSAS Tabular mode... loads from source, cached in mem, but also stored (compressed) in data
    files, in the event that the server reboots, or something similar).
    As far as performance, tabular uses memory, but has a shorter load process (no ETL, no cube processing)... OLAP/MDX uses less memory, by requiring ETL and cube processing... technically tabular uses column compression, so the memory consumption will be based
    on the type of data (numeric data is GREAT, text not as much)... but the decision to use OLAP (MDX)/TAB (DAX) is just dependent on the type of load and your needs... both platforms CAN do realtime queries (ROLAP in multidimensional, or DirectQuery for tabular),
    or can use their processed/in-memory cache (MOLAP in multidimensional, xVelocity for tabular) to process queries.
    if you have a cube, there's no need to reinvent the wheel (especially since there's no way to convert/import the BIDS/SSDT project from MDX to DAX). If you have SSAS 2012 SP1 CU4 or later, you can connect PV (from Excel OR from within SP) directly to the
    MDX cube.
    Generally, the benefit of PP is for the power users who can build models quickly and easily (without needing to talk to the BI dept)... SharePoint lets those people share the reports with a team... if it's worthy of including in an enterprise warehouse,
    it gets handed off to the BI folks who vet the process and calculations... but by that time, the business has received value from the self-service (Excel) and team (SharePoint) analytics... and the BI team has less effort since the PP model includes data sources
    and calculations - aside from verifying the sources and calculations, BI can just port the effort into the existing enterprise ETL / warehouse / cubes / reports... shorter dev cycle.
    I'll be speaking on this very topic (done so several times already) this weekend in Chicago at SharePoint Saturday!
    http://www.spschicagosuburbs.com/Pages/Sessions.aspx
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Domains and Logical Types in Data Modeler

    Been out of serious design work for a long time. Can someone provide a good pointer to descriptions on Domains and Logical Types and presented in the Data Modeling tool?
    For instance I am having trouble tracking the following distinctions:
    Domain Logical Type
    LongText Varchar
    ShortText Char
    Text Char
    NText NTEXT
    NVarchar NVARCHAR
    CHAR and VARCHAR are listed as Logical Types but not Domains. There is a TEXT logical type, but ironically, it does not correspond to the Text Domain. Varchar2 appears in neither list. I believe I ready the N* domains/types are for international characters (multi-byte?), but basically see no pattern here so was hoping someone could straighten me out.
    Thanks,
    Robert Kuropkat

    Hi Robert,
    Logical types are abstraction for native data types in supported databases. You need logical types if you want to import from database or DDL script (mapping of native to logical is important here) or want to generate DDL script (mapping of logical to native). You can delete all logical types (only "unknown" has importance) and create your own logical types. In this case you have to map them to native database types. If you use only Oracle database then you can delete types related to other databases. Of course you can rename existing logical types if you don't like how they are named.
    Domains are based on logical types - you need logical type in order to have valid domain definition. Provided domains are just sample. You can delete them - the only important here is "unknown". You can create two types of domains (it's usage point of view) - 1) per installation - common for all designs; 2) per design - they appear only for design they are defined. You also can import domains.
    Also domains are automatically created during import of DDL script - it's kind of data type aggregation - domain is created for each used data type.
    Best regards,
    Philip

  • Oracle SQL Developer Data Modeler Versus SQL Developer

    Friends,
    I'm trying to understand the differences between Oracle SQL Developer Data Modeler and the ability to use the Data Modeler in SQL Developer.
    I've looked at both products home pages on OTN, http://www.oracle.com/technology/products/database/datamodeler/index.html & http://www.oracle.com/technology/products/database/sql_developer/index.html and would appreciate your comments on my findings so far
    1) The Oracle SQL Developer Data Modeler is a stand-a-lone chargeable product whereas the use of the Data Modeler functionality of SQL Developer is free
    2) The Data Modeler functionality within SQL Developer is basically a "viewer" I can create ERD's of my existing tables by dragging them into the modeler from the object navigator but that's about it. I can't save the diagram for later use or use it to change the structure of the table(s)
    3) If I need to have "Oracle Designer" like ERD capabilities then I need to use Oracle SQL Developer Data Modeler (after purchase!)
    4) Are there any other differences I have missed?
    Thanks in advance

    You can open any diagram created in the stand-alone product in the SQL Developer Data Modeler Viewer and navigate through all property dialogs and the full navigator, just like you can in the stand-alone product, but with no update capabilities. This allows developers to fully review the model and all properties, without making changes.
    Sue

  • Bug report SQL DEVELOPER DATA MODELER

    Hello,
    I think i found a bug using Sql developer data modeler 2.0.0 build 584.
    When importing a DDL file to create a relational model, foreign key constraints might not be created if foreign key uses multiple-field and the fields are not referenced in the same order as the primary key was.
    ex:
    Table FOO ..... PRIMARY KEY (id_1, id_2)
    FOREIGN KEY (id_2, id_1) REFERENCES FOO (id_2, id_1)
    Benjamin
    P.S: Bellow is a portion of SQL code demonstrating the problem:
    -- "_decompte"
    CREATE TABLE "_decompte"(
    numero_rang VARCHAR2(2),
    numero_contrat VARCHAR2(13),
    id_decompte VARCHAR2(19)
    ALTER TABLE "_decompte"
    add CONSTRAINT pk_decompte PRIMARY KEY (numero_rang, numero_contrat, id_decompte);
    -- "_decompte_detail"
    CREATE TABLE "_decompte_detail"(
    numero_rang VARCHAR2(2),
    id_ligne NUMBER(4),
    numero_contrat VARCHAR2(13),
    id_decompte VARCHAR2(19)
    -- "_decompte_detail"
    -- NOT Recognized by SQL DEVELOPER DATA MODELER (fields are not in the same order as primary key definition)
    ALTER TABLE "_decompte_detail"
    add CONSTRAINT fk_decompte_detail_1 FOREIGN KEY (numero_contrat, numero_rang , id_decompte) REFERENCES "_decompte"(numero_contrat, numero_rang , id_decompte);
    -- Recognized by SQL DEVELOPER DATA MODELER
    ALTER TABLE "_decompte_detail"
    add CONSTRAINT fk_decompte_detail_2 FOREIGN KEY (numero_rang, numero_contrat, id_decompte) REFERENCES "_decompte"(numero_rang, numero_contrat, id_decompte);

    Hi,
    Well, I was recently given some database scripts and asked to correct and improve them. These scripts were not generated but rather hand made. Having no access to a DBMS I was just curious about the result of this option in Data modeler and tried it for a better DB overview. I don't need it at all, but I was surprised to discover that the result was a failure. So I tried various scripts until I found the mistake.
    regards.

Maybe you are looking for

  • MB1B 311 Mvmt Type not completing goods receipt on inbound delivery

    I have existing warehouses that complete this transaction (non-HU managed SL to HU managed SL).  I have created a new warehouse, however this process is not working the same in the new warehouse.  Can someone tell me what configuration I am missing? 

  • Crop and Place Question :o)

    Hi all, I've been looking for an answer to this for weeks so fingers crossed someone will be able to help me. I create textures using PS and when a pack is finished I create a 'cover' picture to use to sell the texture packs. They look something like

  • Passing keystrokes into batch file

    I need to execute a batch file, with the following keystrokes to be passed during its execution: y enter y How do i simulate the above 3 keystrokes into the batch file? Thanks

  • TS1718 itunes 12.0.1.26 not playing downloaded movies black screen Windows 7

    I am using iTunes for windows and the recently bought 2 movies, the trailer worked fine , but after download the itunes is not playing the VDO files, its simple black screen. Can someone please help? No wonder why I dont use Apple. they dont even giv

  • Shmmax in linux

    It looks like I can only have a maximum of 512MB SHAMMAX in linux. It does not report any error if I allocate more than 512mh shmmax but it does not allow my SGA more than 512 MB. Is this is a limit in linux?(!!!!), or Do I missing some thing? Thanks