3.1 EA3: Database Diff  license needed?

Hello,
Do I need the Oracle Change Management Pack Licence to use the revised Database Diff functionality as it was the case with SQL Developer 3.0 ?
Thanks for clarification.
Manfred

No, not anymore. I remember someone from the team saying so, and you can see yourself sqldev doesn't ask confirmation of any license before displaying the diff dialog...
Have fun,
K.

Similar Messages

  • 3.1 EA3: Database Diff

    This may be by design, but I am going to ask anyway.
    Diffing Schema A (Source) to Schema B (Destination):
    If Destination has objects that are not in Source, the Source->Destination diff does not report nor generates DROPs for them.
    Is this an expected behavior?
    If it is, the diff report has be run twice (Source->Destination then Destination->Source) to get true state of things.
    Thanks,
    Alex.

    This is the designed behavior. Adding the ability to show objects in the dest that do not exist in the source is on the list of possible features for our next release. However, you may want to add your voice to the features requests.
    You can also add this to the Feature Requests at the SQL Developer Exchange. This not only makes sure we don't forget, but also gives other users a chance to add their vote for the feature and provides a forum for you (the user base) to brainstorm on how you prefer it to work.

  • Database Diff - Generates Create commands only (does not list alter command

    Hi I'm using very latest version of the SQL developer. I was using Database Diff feature and found issue that when there is differences in table (say a addition column exits in one of the database), generate script generates "Create table..."statement. I would rather expect alter table because table exist on both databases but a column was different.
    If I take that script try to create table on the database that has difference, then I would have to lose all data (of course there are alternatives), which is not very efficient script then.
    any ideas if there is an option to show alter commnads?
    thanks.

    The usage of the Diff wizard is not crystal clear.
    If your connections are as user X, but the objects are owned by user Y, they won't be picked up in the target connection. Although you are allowed to pick objects from different users (user Y) on the source side, the comparison seems to be with user X on the target side. For it to work properly, you need to define connections ob both sides as user Y. I haven't really tested this thoroughly because I don't have the change management pack licensed anywhere.

  • Database Diff script creates redundant indexes and fails

    In Version 4.1.0.18, I create a table such that the primary key constraint and unique index have the same name:
        CREATE TABLE "MY_TABLE"
         ( "CORP_ID" CHAR(2 BYTE),
           "COMPANY_ID" NUMBER(5,0),
           CONSTRAINT "PK_MY_TABLE" PRIMARY KEY ("CORP_ID", "COMPANY_ID") ENABLE
    The DDL export of this table yields a different approach but the same end results:
        CREATE TABLE "MY_TABLE"
         ( "CORP_ID" CHAR(2 BYTE),
           "COMPANY_ID" NUMBER(5,0)
        CREATE UNIQUE INDEX "PK_MY_TABLE" ON "MY_TABLE" ("CORP_ID", "COMPANY_ID");
        ALTER TABLE "MY_TABLE" ADD CONSTRAINT "PK_MY_TABLE" PRIMARY KEY ("CORP_ID", "COMPANY_ID") ENABLE;
    Perfectly fine - no issue there.
    But if I do a complete Database Diff (all object types) and the target database is missing the table, the resulting script uses a combined approach:
        CREATE TABLE "MY_TABLE"
         ( "CORP_ID" CHAR(2) NOT NULL ENABLE,
           "GL_ACCOUNT" VARCHAR2(16),
           CONSTRAINT "PK_MY_TABLE" PRIMARY KEY ("CORP_ID","COMPANY_ID") ENABLE
       CREATE UNIQUE INDEX ."PK_MY_TABLE" ON "MY_TABLE" ("CORP_ID","COMPANY_ID");
    In this script, the CREATE TABLE will correctly create both the constraint and index.  Therefore the CREATE INDEX fails because the index already exists.

    In this script, the CREATE TABLE will correctly create both the constraint and index.  Therefore the CREATE INDEX fails because the index already exists.
    Can't help you beyond saying that is a bug since the DIFF should NOT do both of those.
    Someone from the sql dev team will need to tell you if the bug is in sql dev or the package sql dev is using to do the diff.
    Can you open the log window and review the SQL being generated/executed by sql dev?
    Sql Dev is likely using the DBMS_METADATA_DIFF package to generate the diff:
    http://docs.oracle.com/cd/E11882_01/appdev.112/e40758/d_metadiff.htm
    If they are using it correctly but you get that error then it is an Oracle DB bug that needs to be filed.
    If sql dev is using the package incorrectly then sql dev has a bug and the team can address that.
    Sorry I can't help you more.

  • SQL Developer 4.0 - Database Diff - turn off schema name in generated script

    SQL Developer 4 / RDBMS 11GR2
    I know SQL Developer 4 is EA, but maybe the question has the same answer in 3.3.  Also if 4.0 EA questions need to be asked in a different forum, please advise.
    I am new to SQL Developer and I admit to using brand Z (TOAD) for many, many years.
    (1) When using Database Diff, is there a setting to turn off the schema name that is displayed in the scripts that are generated?  I looked in PREFERENCES, but if it is there, I did not see it.
    (2) While I have found good resources on SQL Developer, is there a FAQ on Database DIff that answers a lot of these silly type questions?
    Thanks in advance

    On the first screen of the DIFF wizard there's a check box for 'Schema' - uncheck that.

  • SQL Developer 3.1 EA - Database Diff Issues

    Hi
    I am using SQL Developer 3.1 EA to generate database difference script to upgrade my db. This is really very useful and very good tool for compare two different databases and generate the difference script.
    There are few bugs (?) identified while using database diff tool.
    1. If there is a column mismatch in Source and Destination tables, directly drop the table and recreate new one. This is not a good solution for upgrading database with some other database (data loss is the major issue). Microsoft handled this situation in VS2010 to create temp table with new structure then move data to the temp table and finally drop the original table and rename temp table to original. I am expecting the same method in Database Diff also.
    Sample Code:
    --Changed TABLE
    --F_SYSTEM_2
    DROP TABLE "ED9461001ER09_D1"."F_SYSTEM_2";
    CREATE TABLE "ED9461001ER09_D1"."F_SYSTEM_2"
    (     "SYS2_SEQN" NUMBER(9,0) DEFAULT 0 NOT NULL ENABLE, ....
    2. Primary key constraint created with table creation for new tables. But late point of time, Create unique index statement also trying to create the same to lead runtime error.
    Sample Code:
    --New TABLE
    --F_SYSTEM_3
    CREATE TABLE "ED9461001ER09_D1"."F_SYSTEM_3"
    (     "SYS3_CORVU_DB_NAME" VARCHAR2(50),
         "SYS3_CORVU_DB_SCAP" VARCHAR2(8),
         "SYS3_CORVU_DB_VIEWURL" VARCHAR2(2048),
         "SYS3_CORVU_HP_NAME" VARCHAR2(50),
         CONSTRAINT "PK_F_SYSTEM_3" PRIMARY KEY ("SYS3_SEQU") ENABLE
    --New INDEX
    --PK_F_SYSTEM_3
    CREATE UNIQUE INDEX "ED9461001ER09_D1"."PK_F_SYSTEM_3" ON "ED9461001ER09_D1"."F_SYSTEM_3" ("SYS3_SEQU");
    3. If there is an difference in procedures, script generated with two Create Procedure statements (Source and Destination) which is irrelevant.
    --Changed PROCEDURE
    --GET_DI_COUNT
    CREATE OR REPLACE PROCEDURE "ED9461001ER09_D1"."GET_DI_COUNT"      (PP_SEQU int,
    --Changed PROCEDURE
    --GET_DI_COUNT
    CREATE OR REPLACE PROCEDURE EDISAPAC10_D1.GET_DI_COUNT      (PP_SEQU int,
    I am expecting your solution / clarification.
    Regards
    Nagarajan Santhan

    1. Makes sense. You can request this at the SQL Developer Exchange, so other users can vote and add weight for possible future implementation.
    2. Long standing bug. As it won't make your computer explode, apparently low priority to fix.
    3. I'm unable to use the comparison feature in EA3. I do get the progress dialog comparing the different procedures and functions, but when finished it just disappears, and no comparison sheet opens, like the whole operation just got cancelled. No exceptions in the console, just a lot of these in the logging page:
    update returning false for Grid1oracle.ide.Context[{Context.WORKSPACE=Databases.jws, Context.PROJECT=IdeConnections%23DES+-+Reddis.jpr, Context.SELECTION=[Loracle.ide.model.Element;@1353c19, Context.EVENT=null, Context.VIEW=LoggingMessagePane.Logging Page}]Can someone from the team suggest something to debug?
    Thanks,
    K.

  • Database Diff Wizard Tool problem

    Using Oracle SQL Developer 1.5.1 Build 5440.
    Third Party Extension jtds-1.1.2.jar
    I'm trying to determine if the Database Diff Wizard Tool contains functionality to allow/support diff compares between objects found in an Oracle Db instance and objects found in a MSSQL 2005 Db instance? I've established successful connections to each of the Db instances and can open/browse each one via the Connections browser. If compares between Oracle and MSSQL Db objects (vs. Oracle-to-Oracle only) are supported I must not have something configured correctly. Upon opening the Diff Wizard, (Tools --> Database Diff) and clicking on either the Source Connection or Destination Connection drop-downs only my Oracle Db connected instances are listed for selection. Could someone with experience using the Diff Wizard Tool offer assistance? (Provided SQL Developer supports this function).
    Thanks!

    Folks,
    I'm trying to compare two tables using Oracle SQL Developer, but I'm not being successful. :-(
    The tables are the same, but they are placed in two differente environments: development and production.
    Every time we need to make changes, we do it firstly at development environment. And I need to know which differences don't exist yet in production environment.
    Everytime I try to compare tables, I always receive a diff report with just one difference, like below:
    Type | Owner | Name | Change | Diff Count
    Table SINFA Artesao CREATE 1
    And in the the details window, there's the DDL of the table (source connection).
    Does someone have any idea of what's the problem?
    Thanks,
    Auler.

  • 30EA1--Database Diff not working even after changing Tools Preferences

    Trying to use Database Diff but even after changing Tools > Preferences > Database > Licensing, I still get the error message saying I have to make changes to the Licensing check box. Anyone have a workaround or experience the same problem?

    When you connect to any database error disappears, but still it's a bug.

  • Database Lite License and App Tutorial

    Hello,
    I'm looking for information regarding oracle database lite licensing and if any one could provide me with demo/tutorial on an application built using oracle jdev with ADF for mobile that uses oracle lite.
    Currently I have developed a demo mobile browser application (using oracle ADF) that does not use oracle lite and works only in connected mode. Any documentation on how to go about with oracle lite and work on offline mode/ synchronization would help me.
    I have a fair idea on licenses, Please correct me if I'm wrong or require any other,
    Oracle Database Enterprise or Standard Edition,
    Oracle Mobile Server,
    Oracle Weblogic Server,
    ADF Runtime licenses
    Greatly appreciate your input.
    Thanks and Regards

    Hi,
    Related to Oracle Lite you need to license:
    - the Oracle Lite Mobile Server
    - the Oracle Lite client (for each device)
    If you want to have an aproach check any online store of Oracle, but anyway you will have to contact an Oracle Partner for licensing, discounts, etc... if your partner know about mobile ;-)
    https://shop.oracle.com/pls/ostore/f?p=ostore:product:4500444252482991::NO:RP,3:P3_LPI:4509478177681805719950
    https://shop.oracle.com/pls/ostore/f?p=ostore:product:4500444252482991::NO:RP,3:P3_LPI:4509426259321805719944
    I hope it helps you
    Regards,
    T.

  • Oracle Database Vault + license

    Hi
    I need to use Oracle Database Vault to protect application data from DBA access
    What about license need for use Oracle Database Vault with Oracle Database Enterprise Edition 10g R2.
    I have license to use Oracle Database Enterprise Edition 10g R2, but i don't know if i need extra license !!
    Best Regards

    You may need to talk to your Oracle Sales Rep.
    Says it's an option for Oracle Enterprise Edition
    http://www.oracle.com/database/product_editions.html
    Does Database Vault require a separate database?
    Oracle Database Vault is an option to the Oracle Database 10g Enterprise Edition (10.2.0.2).
    http://www.oracle.com/technology/deploy/security/database-security/database-vault/dbv_faq.html#A11016

  • SQL Dev  3.0.04 Database Diff on Tables ignores Enabled/Disabled flag. Bug?

    Hello everyone,
    it seems like SQLDeveloper Ver. 3.0.0.4 Tools -> Database Diff ignores ENABLED/DISABLED flag when comparing tables. Namely, two tables (in two schemas) were reported identical although a foreign key constraint was enabled in one schema and disabled in the other schema.
    Am I missing something or is this indeed a bug?
    Many thanks,
    Bob

    Hello everyone,
    it seems like SQLDeveloper Ver. 3.0.0.4 Tools -> Database Diff ignores ENABLED/DISABLED flag when comparing tables. Namely, two tables (in two schemas) were reported identical although a foreign key constraint was enabled in one schema and disabled in the other schema.
    Am I missing something or is this indeed a bug?
    Many thanks,
    Bob

  • Sql developer database diff - generate script not working

    Using SQL devleloper 2.1. Database diff generate script gives errors making it completely non-usable
    ORA-31600: invalid input value 0 for parameter SEGMENT_ATTRIBUTES in function SET_TRANSFORM_PARAM
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 8150
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 9270
    ORA-06512: at "SYS.DBMS_METADATA", line 4757
    ORA-06512: at line 1
    and
    Illegal Lock State: executeOracleQuery requires connection lock to be held. oracle.dbtools.raptor.diff.oracle.table.DiffTableRefConstraints.setup(DiffTableRefConstraints.java:215) called oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:681) without it
    I do get the differences visually (yes, I am bugged that constraints are not smart enough to compare on content of the constraint....problem when the contstraint names are sys-nnnnnn generated). Just cannot create the script.
    Any ideas to solve this issue? Thanks in advance, Kelly

    Can reproduce same issue in 11gR1.. DIFF works fine in 10gR2.
    I noticed that 10gR2 allows something like:
    DBMS_METADATA.SET_TRANSFORM_PARAM(th,'SEGMENT_ATTRIBUTES',0);
    and 11GR2 returns error similar to error SQLNAVIGATOR returns while running diff:
    DBMS_METADATA.SET_TRANSFORM_PARAM(th,'SEGMENT_ATTRIBUTES',0);
    end;
    Error report:
    ORA-31600: invalid input value 0 for parameter SEGMENT_ATTRIBUTES in function SET_TRANSFORM_PARAM
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 8424
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 9484
    ORA-06512: at "SYS.DBMS_METADATA", line 3950
    Its safe to assume that this is SQLDEVELOPER bug. Hope it will be addressed sometime.
    Edited by: user5420304 on Jun 15, 2010 10:29 AM

  • When comparing database tables with lob columns via "Database diff" in different environments indexes are shown as different

    When using "Database diff" selecting other schemas only for compare own objects are shown too!Hi!
    For tables with lob columns (clob, blob, etc.) indexes with system names are automatically created per lob column.
    If I am on different database instances (eg. dev/test) these system names can differ and are shown as differences, but these is a false positive.
    Unfortunately there is now way to influence the index names.
    Any chance to fix this in sql developer?
    Best regards
    Torsten

    Only the Sql Dev team can respond to that question.
    Such indexes should ONLY be created by Oracle and should NOT be part of any DDL that you, the user, maintains outside the database since they will be created by Oracle when the table is created and will be named at that time.
    It is up to the Sql Dev team to decide whether to deal with that issue and how to deal with it.

  • Database Diff not working using 3.1 - 64 bit

    Hi there,
    I have just tried using the utility Database Diff in 3.1 on windows 64-bit and this does not produce any differences between 2 similar schemas. I have just downloaded 3.1 32-bit (Java included) and this works fine. I am running Windows 7 64bit.
    Any ideas?
    Regards,
    VicC

    I have managed to sort this out, I was trying to speed up the startup of SQL Developer and disabled some of the extensions. The crucial one here is Versioning support. This must be enabled for Database Diff to work.
    Regards,
    VicC

  • Oracle database diff issue

    I get the following errors when clicking on an object in the diff report:
    Unable to compare objects.
    Ensure that you have the required permissions.
    You must own the objects or have select_catalog_role.
    But the user of the specified connections in the first window of the database diff tool is the owner so I'm unsure why I'm getting this.  As a side note, the specified user does not have select_catalog_role; if this is required then the given error is misleading (because it says one or the other)...
    SQL Developer version 3.2.10.09 Build MAIN-09.57

    Hi,
    1) You can schedule job for cleanup logs
    <b>http://help.sap.com/saphelp_nw2004s/helpdata/en/15/01df3a1fd91974e10000000a11402f/frameset.htm</b>
    2) Tablespace reorganization sapdba
    3) DE-FRAGMENTING OF TABLESPACE
    Example: <b>PSAPTEMP</b>
    sqlplus> <b>alter tablespace psaptemp COALESCE;</b>
    regards,
    kanthi

Maybe you are looking for