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.

Similar Messages

  • Diff Wizard

    I am using the Diff Wizard to differentiate detween Production database with Development database.
    SQL Developer
    Version 1.5.0.52
    Build MAIN-52.03
    I am geeting below issue whether it is problem with tool or not
    We have added a new column to a table say WC_PART with CCN Char(3) in development database
    In Diff report the alter script is like delow
    alter table WC_PART add ( CCN CHAR );
    actual it should be like
    alter table WC_PART add ( CCN CHAR (3) );
    Thanks
    Suri

    Hi all,
    I have a similar issue with the "Database Diff" wizard: for columns with data type NVARCHAR2, the length specification is missing.
    I added in table ACTIVITY_DEF the column "CLIENT" as
         CLIENT NVarchar2(5) Constraint ACTDEF_CLNT_FK_NN NOT NULL ,The wizard created the following line:
    alter table ACTIVITY_DEF add ( CLIENT NVARCHAR2  NOT NULL );This results in:
    alter table ACTIVITY_DEF add ( CLIENT NVARCHAR2  NOT NULL )
    FEHLER in Zeile 1:
    ORA-00906: Linke Klammer fehlt For other columns of datatype CHAR or VARCHAR2, the syntax is correct.
    I used the following version:
    Oracle SQL Developer 1.5.1
    Version 1.5.1
    Build MAIN-5440
    IDE Version: 11.1.1.0.22.49.42
    Product Version: 11.1.1.54.40
    Is this a bug in the wizard?
    Best regards,
    Christian.
    Edited by: Christian Brunner on 25.02.2009 05:05
    Edited by: Christian Brunner on 25.02.2009 05:06 - reason: text formatting issues
    Edited by: Christian Brunner on 25.02.2009 05:07
    Edited by: Christian Brunner on 25.02.2009 05:08 - still fighting with formatting

  • 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.

  • Specify Objects in Diff Wizard

    Hi
    SQL Developer 1.5.1 Build 5440
    I want to make a Database Diff between some tables in two databases. In the wizard should it be possible to specify specific objects that I want to compare. When I try to populate the list with objects I get the error 'ORA-00942: Table or view does not exist' when I press 'GO'. This error also comes if I try to change schema.
    I have tried this on several different computers with the same result.
    Regards
    Marika

    Hi... again...
    I have noticed that this problem occurs on other places with the same type of wizards (like Export DDL).
    I do not have this problem in 1.2 version of SQL Developer.
    Regards
    Marika

  • EA2- Diff Wizard

    I downloaded and installed EA2 this morning. I created 2 new database connections to 2 different Oracle 10gR2 databases, one test and the other is prod. I then ran the DIFF Wizard on one of the schemas that resides on these database to test the tool. It showed there was a difference on every single object (all tables, indexes, sequences, etc). Is there a trick to getting this tool to work properly?

    I ran the tool again this time changing the database connections to connect to the user being compared on both databases - this worked. It would be nice to be able to compare any schema from the source db to any schema in the destination db without having to have a separate db connection for each user/schema (I usually connect via some user account with DBA role). Does anyone else agree this would be a useful enhancement request?

  • Database Diff - One column and triggers won't fall off report

    I'm trying to use the database diff tool (which I LOVE, by the way), and I'm getting just a few odd results. I'm comparing two databases and can never seem to get to where the diff report is empty, even though everything is the same. No matter what I do, it lists one column in a table as different and lists ALL 13 triggers in the database as different. I have tried dropping the table and all triggers in question and having the diff scripts recreate them, but when I try a diff again, they keep showing up as different somehow.
    Also, the diff script is generating this as code to modify the column:
    alter table "USERS" modify ( "UPID" NVARCHAR2 );
    Which I don't think is valid syntax - I get "Missing left parentheses." I think it's because it doesn't like specifying the NVARCHAR2 type without a size. If I change that statement to NVARCHAR2(20), then the statement runs. However, as I said before, it still shows up in the diff report later on as if something is different, even though both databases are exactly the same.
    I'm using SQL Developer 2.1.1.64 on Windows XP Pro. Database is 10g.

    Does the ext directory have the php_oci8.dll? In the original steps the PHP dir is renamed. In the given php.in the extension_dir looks like it has been updated correctly. Since PHP distributes php_oci8.dll by default I reckon there would be a very good chance that the problem was somewhere else. Since this is an old thread I don't think we'll get much value from speculation.
    -- cj

  • 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 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.

  • 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

  • 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

  • Siebel Database Configuration Wizard closes automatically

    hi all,
    Siebel Database Configuration Wizard closes automatically at step when asked if the GRANTUSR.SQL script was alredy run. Before running the Wizard I already installed the Siebel Enterprise, Siebel Gateway, Siebel Server, SWSE Logical Profile and configurated them. The Siebel Database is available, tablespaces were created and I run the grantusr.sql and everything was OK.
    I chose the option 'already run the grantusr.sql'. By doing this the Wizard closes automatically. No idea what's going on here.
    Can anybody please help me? I've been sitting for hours trying to find out what happens.

    hi WSiebel,
    thanks for the explanation. I checked the logfile under \siebsrvr\log:
    2021 2012-04-08 20:35:05 0000-00-00 00:00:00 +0200 00000000 001 003f 0001 09 sw_cfg_util 1524 2812 D:\sba80\siebsrvr\log\sw_cfg_util.log 8.0 [20405] ENU
    NameServerLayerLog     Error     1     000000024f8105f4:0     2012-04-08 20:35:05     Unable to connect to the gateway server.
    GenericLog     GenericError     1     000000024f8105f4:0     2012-04-08 20:35:06     NSS - ErrCode 5009 SysErr 0
    GenericLog     GenericError     1     000000024f8105f4:0     2012-04-08 20:35:06     Validation failed : C028: Connection with Siebel-Gateway-Namenserver 粑GenericLog     GenericError     1     000000024f8105f4:0     2012-04-08 20:35:06     ValidateFailed for Gateway Nameserver-Adresse, error : C028: Connection with Siebel-Gateway-Namenserver 粑NameServerLayerLog     Error     1     000000024f8105f4:0     2012-04-08 20:35:17     Unable to connect to the gateway server.
    GenericLog     GenericError     1     000000024f8105f4:0     2012-04-08 20:35:17     NSS - ErrCode 5009 SysErr 0
    GenericLog     GenericError     1     000000024f8105f4:0     2012-04-08 20:35:17     Validation failed : C028: Connection with Siebel-Gateway-Namenserver 粑GenericLog     GenericError     1     000000024f8105f4:0     2012-04-08 20:35:17     ValidateFailed for Gateway Nameserver-Adresse, error : C028: Connection with Siebel-Gateway-Namenserver 粑NameServerLayerLog     Error     1     000000024f8105f4:0     2012-04-08 20:35:21     Unable to connect to the gateway server.
    GenericLog     GenericError     1     000000024f8105f4:0     2012-04-08 20:35:21     NSS - ErrCode 5009 SysErr 0
    GenericLog     GenericError     1     000000024f8105f4:0     2012-04-08 20:35:21     Validation failed : C028: Connection with Siebel-Gateway-Namenserver 粑GenericLog     GenericError     1     000000024f8105f4:0     2012-04-08 20:35:21     ValidateFailed for Gateway Nameserver-Adresse, error : C028: Connection with Siebel-Gateway-Namenserver 粑
    I don't think, that that is the cause of my problem. Even when I started the Siebel gateway, the database configuration wizard doesn't work appropriately.
    Sievel server and Oracle Database are in the same machine (a Windows XP Professional, 32-bit-virtual machine). I haven't installed the Oracle 10g Enterprise edition. Should I install the Oracle client as well?.
    In my case the ODBC connection, the DSN Name is Enterprise Name_DSN: Siebel_test_DSN and points to the Driver: Oracle in OraDb10g_home3. The connection works for siebel/siebel, sadmin/sadmin, but not for sys/mypassword (sorry I am not a Database crack).
    I also tested the connection with the odbcsql as in your email indicated. The connection works when trying with siebel/siebel and sadmin/sadmin (user/password).

  • 3.1 Database Diff

    I was playing around with the Database Diff tool in 3.1, and I was trying to compare an object between 2 instances, where the objects were owned by a schema of the same name, AND where that schema was not the username I was logged-in with.
    It looks like the compare tool kept trying to compare an object in the target schema with a matching object in the schema I was logged in with, rather than looking in the target schema in both instances.
    Is there a way to do this? For example, could someone logged in as SMITTHJ compare objects in 2 separate instances, where the object MOVIE was owned by SCOTT in both instances?
    Thanks,
    --=Chuck

    I also ran into a variation of this bizarre assumption and actually thought it was a bug while attempting to export a schema using a SYS connection. The target schema for export was not SYS, but tons of SYS and SYSTEM objects appeared in the export file, while not appearing in the summary of which objects would be exported.
    If you want the gory details : Re: EA 3.1 - Database export - export file contains SYS objects - BUG ?
    Both functions (export and diff) assume that the connected schema is relevant to the function, which I find a bizarre assumption.
    Please add my vote to have the Diff and Export functionality changed to not assume the connected schema is the basis of comparison.

  • Visio: Can't get Text Data in "Textboxes" to Export Properly using Reports or Databased Export Wizard

    Clarification: by textbox -- I mean a "text" shape created by using the "A Text" tool that appears in the ribbon. They are just free text boxes that are not associated w/
    any other shape.
    Hi. I am using Visio Professional 2010.  I am interested in extracting from each of my visio diagrams/drawings the text information that is shown in textboxes.
    I've tried using the Database Export Wizard and the Reports add-on; neither work. I've tried exporting to Excel and to Access.
    What I end up w/ is for some textboxes, the contained text is exported. But for other textboxes, nothing is exported or in some cases just a single letter/character is exported. I checked the number of characters in each textbox and all but one have fewer
    than 255 characters -- (if that makes a difference??). Some textboxes contain newline character (i.e., carriage returns). Does that make a difference?
    I've looked at previous questions and answers on the web and on this forum re. this topic and followed the proscribed advice, w/ no success. So any additional advice anyone can provide me, I would greatly appreciate it.
    Thanks -
    CJA

    Hey Chris,
    I tried exporting the text in visio drawing using database export wizard and found that yes the text which is associated with the sub group doesn't get exported.
    So the solution I think would work is that we have to write a macro which would read the shape.text property and it should check that if the shape is a group shape then it would check the sub shapes to get the text associated with them.
    You can refer to following msdn page to write this macro,
    msdn.microsoft.com/en-us/library/office/ff766497(v=office.15).aspx
    Let me know if you need further help to resolve your issue or if I have missed something.

  • 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.

Maybe you are looking for

  • Hard drive swapping procedure?

    Hello fellow macaholics, I've been a mac user for about 6 years now, I've had a few systems. Recently I sold a Powermac G4 733mhz. I had two hardrives installed in it. A 40gb and a 160gb partitioned into two with SpeedTools ATA Hi-Cap Support Driver

  • My phone broke four and a half months ago, and Sony still haven't fixed it.

    In mid october my phone broke, the phones functions continued to work (calls, notifications etc.) however there is no display on my screen. I initially went through the sony repair centre number and arranged for my phone to be sent via their free pos

  • More granular geo-location from the MSE?

    I have a WCS 7.0.xx and a MSE 7.0.xx installed and working fine. I have managed to get an geo-location answer from the MSE, but it  appears like it has low accuracy. Eg: 63:24:59N 10:24:9E. As far as I  can see, It contains only degrees, minutes and

  • Weird behavior under Mavericks - permissions?

    I am administering one of the new Mac Pro cylinders for a design team to test. We are licensed up to Adobe Master Collection CS5.5 and almost all of the problems I have had with this new Mac and Mavericks seem to be permissions related. If anyone els

  • Regular Expression to spilt words

    Hi all, i want to split the last word in string, after found last space the maximum lenght of string is five words. i used the follwoing query not working ok . SQL> SELECT REGEXP_SUBSTR('system hello sidval',   2  '[a-z]+\S+') RESULT   3  FROM DUAL;