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

Similar Messages

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

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

  • EA1 Connection errors in Diff Wizard not reported.

    If you select a connection in the diff wizard which fails for some reason (eg 1017), the error is not reported and the connection drop down selection is reset.

    This is also true for the Copy Dialog connection. I have updated the bug.
    Sue

  • 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 shows a confusing dialog box title while comparing

    I ran my first schema diff this morning and had a minor heart attack after hitting "Finish".
    The dialog box that appears says "Copying..."
    Any chance we could get that changed to something more benign, like "Comparing" or "Diffing" or "Not Destroying Target Schema Now"?
    SQLDeveloper is coming along nicely. Thanks for all the hard work!

    This was changed to "Comparing..."
    Sue

  • How does Diff Wizard work?

    Does it use a database package? Background of my question: I'm searching for a automated solution to generate a diff script.
    Bye,
    Rumbu

    It's a combination of java and sql. Sqldev currently
    has no server side code.Ok, but why do I need a Oracle Change Management License?

  • EA1: Diff Wizard Issues

    The schema difference tool now seems to work reliably, but I find it very limited. The main limitations are
    1 it is 'one-way'.
    It doesn't show you objects in the target schema which aren't in the source schema. I think this is by design - the aim seems to be to provide a tool for converting adding one schema to another. I had hoped for more of a 'schema merge' tool (see below).
    2 You can't see the actual differences.
    For tables you can see the ddl to change the table, but you can't see what was there in the first place.
    For PL/SQL objects, the 'create or replace syntax' means you can't see what the differences were at all.
    This is what I would like to see.
    As I said above, I would like a schema merge tool, just like the code merge tool in JDeveloper and many other development tools.
    1) The ability to view the two schemas side by side with differences highlighted.
    2) The ability to create a merged schema by selecting differences from either side
    3) Generate DDL to go from either schema to the merged schema.
    I used to use something similar years ago with ERwin http://www.ca.com/us/products/product.aspx?id=260
    BTW. How do you post proper hyper links in the forum?

    An example of an empty line? If you insist... ;-)
    Delimiting the code blocks with *.
    Here's the contents of an SQL tab in the base schema:
    *  CREATE OR REPLACE FORCE VIEW "VW_AFI_CNO" ("AFICNO_ID", "AFICNO_CODIGO", "GENTRADUC_TRADUCCION", "GENIDIOMA_ID") AS
      SELECT AFI_CNO.AFICNO_ID, AFI_CNO.AFICNO_CODIGO, GEN_TRADUCCIONES.GENTRADUC_TRADUCCION, GEN_TRADUCCIONES.GENIDIOMA_ID
    FROM   AFI_CNO, GEN_TRADUCCIONES
    WHERE  GEN_TRADUCCIONES.GENEXPRES_ID(+) = AFI_CNO.GENEXPRES_ID
    Here's the contents in the destination schema:
    *  CREATE OR REPLACE FORCE VIEW "VW_AFI_CNO" ("AFICNO_ID", "AFICNO_CODIGO", "GENTRADUC_TRADUCCION", "GENIDIOMA_ID") AS
      SELECT AFI_CNO.AFICNO_ID, AFI_CNO.AFICNO_CODIGO, GEN_TRADUCCIONES.GENTRADUC_TRADUCCION, GEN_TRADUCCIONES.GENIDIOMA_ID
    FROM   AFI_CNO, GEN_TRADUCCIONES
    WHERE  GEN_TRADUCCIONES.GENEXPRES_ID(+) = AFI_CNO.GENEXPRES_ID
    Here's the comparison result:
    --  DDL for View VW_AFI_CNO
      CREATE OR REPLACE VIEW "VW_AFI_CNO" ("AFICNO_ID", "AFICNO_CODIGO", "GENTRADUC_TRADUCCION", "GENIDIOMA_ID") AS
      SELECT AFI_CNO.AFICNO_ID, AFI_CNO.AFICNO_CODIGO, GEN_TRADUCCIONES.GENTRADUC_TRADUCCION, GEN_TRADUCCIONES.GENIDIOMA_ID
    FROM   AFI_CNO, GEN_TRADUCCIONES
    WHERE  GEN_TRADUCCIONES.GENEXPRES_ID(+) = AFI_CNO.GENEXPRES_ID
    Thanks,
    K.
    PS: Jim, we did a complete backup/restore with EXP/IMP between 2 Redhats 64 bit.
    Message was edited by: K

  • Howto diff between bug and unknown?

    I am living in Europe, not in the USA.
    Your products are sold in the World.
    With my latest iMovie, I still cannot find the right 720p or 1080i (PAL) match.
    Apple, are you supporting Europe as well or do you think that the world is ending between 2 oceans?
    René from Belgium in Europe.

    Haven't seen this before, but Schema Diff was an incomplete and very buggy utility. Can you post the DDL to have a reproducible case?
    I suggest you try with the current 1.5 EA, which has a completely renewed Diff Wizard.
    Thanks,
    K.
    Message was edited by:
    -K-

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

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

  • Schema diff utility bug??

    I'm trying to use the schema diff tool (SQL Dev v1.2.1.3213 on Win XP SP2) to find/update differences between production and development and found this with a recent run:
    ALTER TABLE AUTH_APP_ROLES
    ADD CONSTRAINT AUTH_APP_ROLES_ROLE_FK_CON FOREIGN KEY
    "AUTH_ROLE_ID"
    ) REFERENCES AUTH_ROLES
    ) ENABLE
    ALTER TABLE AUTH_USER_ROLES
    ADD CONSTRAINT AUTH_USER_ROLES_USER_FK_CON FOREIGN KEY
    ) REFERENCES AUTH_USERS
    "AUTH_USER_ID"
    ) ENABLE
    ALTER TABLE AUTH_USER_ROLES
    ADD CONSTRAINT AUTH_USER_ROLES_ROLE_FK_CON FOREIGN KEY
    ) REFERENCES AUTH_ROLES
    ) ENABLE
    ALTER TABLE AUTH_ROLES
    ADD CONSTRAINT AUTH_ROLES_CON FOREIGN KEY
      PARENT_AUTH_ROLE_ID
    REFERENCES AUTH_ROLES
    ) ENABLE
    ;Notice that the placeholder for the foreign key column name references are mostly empty, and in one case filled in. Apparently this is a bug in the tool?
    Earl

    Haven't seen this before, but Schema Diff was an incomplete and very buggy utility. Can you post the DDL to have a reproducible case?
    I suggest you try with the current 1.5 EA, which has a completely renewed Diff Wizard.
    Thanks,
    K.
    Message was edited by:
    -K-

  • Migration Verifier Tool for SQL Developer Migrations?

    Hi all,
    The old Migration Workbench has an optional add on verification tool to verify migrations to Oracle.
    I am looking for a similar migration verifier tool for the SQL Developer migration process.
    Does one currently exist for SQL Developer migration tools?
    Regards,
    Ben Prusinski

    Hi Ben,
    The old migration verifier seems to be at:
    http://www.oracle.com/technology/tech/migration//dmv/index.html
    Sue Harper (Product Manager) would be the person to comment further probably through SQLDeveloper statement of direction:
    http://www.oracle.com/technology/products/database/sql_developer/files/sqldeveloperstatementofdirection.htm
    I do not see anything there.
    There is a tools->database diff wizard which I have not looked into in detail and I doubt that applies for migrations.
    -Turloch

  • SQL Developer no more free ?

    I noticed a new functionality, schema compare in SQLD 1.5. One that is used by develoeprs in my company extensively out of Toad.
    To my surprise, it asked to confirm licence for Oracle Change Management Option.
    I am shocked!!
    Didn't SQL Developer started as a free tool for developers?
    I am asking that, did we not jumped on the bandwagon because Toad and other tools are asking price for the functionality we donot feel legitimate.
    My sincere apeal, to keep the tool really free.
    -Jayant

    There's a mention here.
    How does Diff Wizard work?
    While it says that it involves Java and SQL, there's nothing conclusive there about whether it requires functionality licensed under that option. There are AWR tables/views that can be queried only with the Diagnostic Pack.
    Having said that, I can't find anything in DBA_FEATURE_USAGE_STATISTICS or SYSMAN.MGMT_DB_FEATUREUSAGE that might indicate whether the Change Management Pack has been employed. Maybe it depends on the contents of the SYSMAN.MGMT_CM% tables.

  • Payment wizard set up

    Hai,
    I have a problem relating to payments made to multiple vendor. I have tried by using payment method set up in Admn>Setup>Banking>Payment method setup and by using payment wizard. It is coming correctly but it is making as individual entry for each vendor as below ;
    Vendor A          1000
    To Bank                     1000
    Vendor B          5000
    To Bank                      1000
    I need the entry as below :
    Vendor A             1000
    Vendor B             5000
    To Bank                         6000
    ie., Bank should be debited as a whole . Is there any settings to be made in payment setup or is there any other way to solve this issue.
    Can anybody help as this is urgent.
    Regards
    Narayanan

    Narayanan,
    The Payment Wizard is a method to process mutiple payment at one time but its base behaviour does not differ from processing an individual outgoing payment.
    Therefore, the Jounal posting are going to be individual and not 1 JE as you are expecting.
    I do not believe there is any setting to do this
    Suda

Maybe you are looking for

  • Cannot set selectOneChoice value during reload (value auto become null)

    Dear all, I have a problem that getting null value in the SelectOneChoice field in a table binded to a view object. If I change that SelectOneChoice to inputText, it works perfectly. The details of the situation is described as follows: I've binded a

  • Unable to create Metadata connection for Dictionary Provider

    Hi, I am getting the following error while I try to run a Web Dynpro Application; The initial exception that caused the request to fail, was:    com.sap.dictionary.runtime.DdException: 'WD_RFC_METADATA_DEST' not properly defined! Unable to create Met

  • Need help testing a package.

    I recently adopted yed, and I have made an updated PKGBUILD for it (along with other minor changes). But when I build and run it, I get a blank dialog box (using openjdk6 and also tried jre). Can anyone test it? http://www.filedropper.com/yed-342-1sr

  • My iTouch can only be restored thru iTunes after update

    I updated my iTunes to 10.5.1.42 last night, and then updated the iTouch software to IOS 5.0.1. Now, when I plug my iTouch into my computer to sync and open up iTunes, the iTouch is found and recognized, but the only option I have is to set up as a n

  • Using NIC Teaming and a virtual switch for Windows Server 2012 host networking and Hyper-V.

    Using NIC Teaming and a virtual switch for Windows Server 2012 host networking! http://www.youtube.com/watch?v=8mOuoIWzmdE Hi thanks for reading. Now I may well have my terminology incorrect here so I will try to explain  as best I can and apologies