V1.5.3 - 'diff' tool flags things as different when they are the same

Using the 'diff' tool to compare databases. Resultant 'diff' script contains a lot of statements like this :
ALTER TABLE "tabl1" MODIFY ("column1" NOT NULL ENABLE);
.. but when i run them on the target, it tells me that the columns are already not null. No, i'm not running on the wrong db. In fact running that command on both the source and destination dbs elicits the same error :
Error starting at line 1 in command:
ALTER TABLE "tabl1" MODIFY ("column1" NOT NULL ENABLE)
Error report:
SQL Error: ORA-01442: column to be modified to NOT NULL is already NOT NULL
01442. 00000 - "column to be modified to NOT NULL is already NOT NULL"
*Cause:   
*Action:
Additionally, the 'diff' script when asked to compare functions includes the function definition in it's output. However running that on the target and then re-running the diff still flags that function as different.

Further, i had a table defined in both db, same columns different column lenght :
CREATE TABLE CDB_R_FIRMS_ADDRESSES
INT_FIRM_ID INTEGER NOT NULL,
ADDRESS_UUID VARCHAR2*(50 CHAR)* NOT NULL,
ADDRESS_TYPE INTEGER NOT NULL
CREATE TABLE CDB_R_FIRMS_ADDRESSES
INT_FIRM_ID NUMBER NOT NULL,
ADDRESS_UUID VARCHAR2*(200 BYTE)* NOT NULL,
ADDRESS_TYPE NUMBER NOT NULL
.. and 'diff' failed to spot the difference! If 'diff' does not consider '50 char' different to '200 byte', what does it consider a difference ?Am i not using 'diff' as it was intended ?

Similar Messages

  • How to avoid purchasing multiple things that are the same but different titles

    How can I avoid purchasing multiple things that are the same but have multiple names but is the same purchase for the same use?

    "Things"?  What things?  Apps for keeping track of when to change cat litter?  30 different versions of "twinkle, twinkle little star" played by everything from punk rockers to Gregorian chant?  Videos on the best way to make Christmas cake?

  • Write a SELECT statement in different ways is not the same thing!!!

    Let's take a look
    use AdventureWorks2012
    go
    dbcc freeproccache
    go
    and now select something
    select * from [HumanResources].[vEmployeeDepartmentHistory]
    go
    so, analyzing 'Compiled Plan'
    SELECT usecounts, cacheobjtype, objtype, text
    FROM Sys.dm_exec_cached_plans
    CROSS APPLY sys.dm_exec_sql_text(plan_handle)
    where cacheobjtype = 'Compiled Plan'
    ORDER BY usecounts DESC;
    GO
    and now let's write some SELECT in "fuzzy case"
    dbcc freeproccache
    go
    select * from [HUMANResources].[vEmployeeDepartmentHistory]
    go
    select * from [HumanRESOURCES].[vEmployeeDepartmentHistory]
    go
    select * from [HumanResources].[VEmployeeDepartmentHistory]
    go
    select * from [HumanResources].[vEmployeeDEPARTMENTHistory]
    go
    select * from [HumanResources].[vEmployeeDepartmentHISTORY]
    go
    SELECT * from [HumanResources].[vEmployeeDepartmentHistory]
    go
    select * FROM [HumanResources].[vEmployeeDepartmentHistory]
    go
    and now let's see compiled plans again
    SELECT usecounts, cacheobjtype, objtype, text
    FROM Sys.dm_exec_cached_plans
    CROSS APPLY sys.dm_exec_sql_text(plan_handle)
    where cacheobjtype = 'Compiled Plan'
    ORDER BY usecounts DESC;
    GO
    So, write a SELECT statement in different ways is not the same thing!!!
    Hope it'll be useful
    P.Ceglie

    Yes.  There is little or no query normalization that happens in front of the query plan cache.  It would be a performance tradeoff to parse and normalize the query before matching it to the cached plans.  The benefit of reducing the number
    of plans in the cache probably wouldn't be worth it. 
    David
    David http://blogs.msdn.com/b/dbrowne/

  • My ibook keeps shutting down completely with the date to reverting back to 1969.  i restart only after i plug in charger it lets me, then change date and save.  the next time i use same thing happens, safari, iphoto, email are the only ones i have used.

    my ibook keeps shutting down completely with the date to reverting back to 1969.  i restart only after i plug in charger it lets me, then change date and save.  the next time i use same thing happens, safari, iphoto, email are the only ones i have used.
    please help!  i am at a loss here.
    thank you, movie lady
    ibook g4

    The iBook does not have a backup (PRAM) battery. It only has the main battery and a small capacitor which maintains the settings long enough to do a battery swap. If the battery is dead, what you are seeing can happen.
    If the battery is not a problem (or even if it is), you could try resetting the PMU and see if that helps.

  • I am trying to add the Youtube widget, but I get a black box saying blocked plugin. I have even tried to embed it from Youtube as well and it does the same thing. But when I drag the Vimeo widget over, it connects like it should. What am I doing wrong and

    I am trying to add the Youtube widget, but I get a black box saying blocked plugin. I have even tried to embed it from Youtube as well and it does the same thing. But when I drag the Vimeo widget over, it connects like it should. What am I doing wrong and how can I fix this problem?

    Make sure that both the web browser you're using and its Flash plug-in are up to date. Google Chrome has its own Flash plug-in it updates on its own. Firefox, IE and other have separate plug-ins.

  • When I get ready to burn my dvds they tend to be blurred. Even with pictures they do the same thing. When I preview them they blur while playing. But when I stop the video it becomes crystal clear.

    When I get ready to burn my dvds they tend to be blurred. Even with pictures they do the same thing. When I preview them they blur while playing. But when I stop the video it becomes crystal clear.

    Lamontsplace
    Thanks for asking for clarification. Appreciated. I did not see you post 8 until after I posted my post 9.
    Important that we define the issue as being related to just preview or to preview and export.
    Project Preset....
    When you start a new project, a project preset (project settings) need to be set by you or the project. The program
    is designed to do that based on the properties of the first video file that you drag to the Timeline. Sometimes the program
    does it right, sometimes not. If not, then you set the project preset manually assuring that the description of the project preset
    matches your video properties for at least frame size, frame rate, etc. A major function of the project preset is to direct
    the program to give you the correct space in the Edit area monitor for editing. If you select a project preset which includes
    1920 x 1080 in its description, then the space in the Edit area monitor will reflect that 16:9 format.
    If you or the program have set the correct project preset, then, when you drag your video to the Timeline for the first time, there
    will be no colored line over its content. That means that you are getting the best possible preview in the monitor. Once you
    edit that video, you will get an orange line over it. That is the program telling you that you no longer have the best possible preview
    and to get it you Timeline render using the Render button above the Timeline. When that Timeline rendering is complete, the orange
    line turns to green. That is the program telling you that you have the best possible preview which will be in effect until you edit the
    file again. Then orange to green again.
    Right now I would prefer to stay with trying to get your photos to an acceptable preview stage. No matter what the project preset,
    these will need Timeline rendering after they are dragged to the Timeline. Several have reported that the use of the DSLR project preset results in sharper images pre and post export. I want to see if any of that can enhance your situation.
    Please review and consider and then let me know if I am going in the right direction for the explanations. I will adjust
    my instructions/suggestions accordingly.
    More later.
    Thanks again for the follow up.
    ATR

  • I am getting the error message "could not copy to requested location" to a drive i have been using for over a year... when I do the same thing to another drive - it works just fine. why?

    i am getting the error message "could not copy to requested location" to a drive i have been using for over a year... when I do the same thing to another drive - it works just fine. why?

    Possibly the drive is full
    Possibly the permissions are not set to WRITE permission
    Possibly there has been a "user mistake" and you think you are copying to a drive you have been using for over a year but something has accidentally changed and you're copying to a different location

  • How to transfer music from one computer to another when they are at 2 diffe

    yes hi I was wondering how do i get music off of my one computer to another when they are in two different homes. they are both authorized to my account but i have music on one that i want on my other. can anyone please help.

    Hello!
    To have same library on both of your authorized machines, you need first locate, on both of them, the iTunes Media Folder location (Preferences > Advanced) then you need make them syncronized. How to do this, will exists some tools, I will not go further about that stuff, you can google them... back to topic:
    After you do any change to the files content of one library, you can just drag and drop the media folder on iTunes, it will rescan the library itself and update all changes you made.
    Be aware if your machines are authorized on multiple accounts, you need be logged on store with the account used to purchase any drm-enabled song you want to listen.
    Message was edited by: Andrea Rimicci. Typos

  • PS 10 flagged my photos offline when they haven't moved

    Photoshop 10 suddenly has flagged all of my photos as "offline". They have not moved from my J drive. Catalog manager shows the catalog as being on the J drive. However, individual photo properties now show them on the F drive. I have not moved anything. I don't even have an F drive. How do I get Photoshop to understand that the photos are still on the J drive?

    Before jumping to a conclusion, let's see your questions:
    Why are there 3 records in the Volume table? All of my photos are under a single directory in Windows.
    Each time you 'enter' media files in a catalog, the organizer reads the info in Windows explorer to find and record - the drive identification - the full path on that drive - the  type of the drive. An internal identifier in the database is created if that drive is not already known. All recorded drives stay in the table, even if the media files are deleted from catalog. By default, the organizer creates two entries in the table even if you don't enter any media. One is of the type database_relative_drive; if no media is present, there is a 'dummy' entry type no_drive.
    If you have two drives with the same letter and different serial number or type, they will have separate entries... and the organizer won't know how to interpret the data. That may happen in various situations : you know that if you have a F: external drive and you plug-in other thumb drives before, the Explorer will assign it another letter; or you may have a 'cloned' drive from a drive previously in your computer with another serial number. So, in your case, I can't know why there are 3 records. A screenshot of your volume_table might help.
    Is the catalog db fully normalized? That is, is the entry in the Volume table the only place that has metadata about the physical device used for the storage of the photos?
    Yes. The record in the volume table is identified by its internal 'id' field.
    You can verify that in the media_table : each record (for each media file) show the field 'volume_id' which corresponds with the abobe 'id'. There is no other place to see a drive letter or drive serial number.
    What steps do I take to get the PSE Catalog Manager to recognize an existing catalog file? I do not understand the difference between “new” and “convert”.
    In your volume_able you should have a record in which:
    - the 'id' is the internal drive identifier (the one present in each record of the media_table, as indicated above)
    - the drive letter used by the explorer
    - the serial number of the drive you have found via the DOS vol command in decimal.
    - the type 'built-in drive'
    Of course, you should not have twice the same letter or serial, you should delete unwanted duplicated records. All this can be made from the sqlite manager.
    The button 'new' creates an empty catalog
    The button 'convert' is used if your files and catalogs have not been moved, but you have installed a newer Elements version. The old catalog is read and a converted copy is created.
    You are now able to correct the catalog (rather a copy of the catalog not to run any risk) to reflect the present situation. I would not bother now to move the media files or change the drive letter, I would create a working catalog; the rest can be done afterwards when everything is working and you are able to create a backup from the catalog manager.
    Modify the last record in the Volume Table:
    ID same as existing to maintain referential integrity with other tables.
    Description: I will enter “C:”
    Serial: the VOL gives the serial as “BAAC-DC6B”. I should enter “47788-56427”. (Should I enter without the hyphen? That is, enter “4778856427”?)
    Drive-path-if-built-in: I will enter “C:”
    Type: I will enter “builtin-drive”
    Use Catalog Manager to point PSE to the catalog now on the C drive. Should I move the catalog to the “default” location? Where is that?
    Hopefully by moving to a more traditional configuration I will minimize the potential for confusing PSE (not to mention myself).
    What do you think?
    You must keep only one good record and delete the wrong duplicates.
    - without the hyphen
    - to open the organizer with the new catalog on C, simply double click the catalog.pse10db file. The catalog manager will remember the location.
    - A catalog (or catalog copy) will work independently from the location of its folder. You can move the folder as you wish. If you want it to be on the default location, simply use the 'move' button in the catalog manager and choose 'accessible to all users' instead of 'custom'.
    Once again, you don't run risks in working with a catalog copy. And even if we don't know the reason of the database corruption, the important thing is to get the catalog working.

  • Booklet Gutter Issue - When I print a booklet at 11x17, it causes a large white line down the center. But, when I try the same thing at 8.5x11 it prints side by side as it should. Help?

    I have a 36 page booklet (each page is 8x5.5in). I have exported the booklet from InDesign as Pages. In Acrobat, when I select Print Booklet and 11x17 paper, it created a large white gutter down the center and the pages do not back up to each other.
    I tried the same thing with 8.5x11 paper and they pages backed up to each other correctly with no white space down the center.
    I tried again at 11x17 (size needed to print my booklet full size), and it's still causing the large white gutter. It's nearly half an inch or larger.
    Help is VERY appreciated!

    " Hello Jeff. Here at Oki Data, we do not support programming.  I would recommend contacting Adobe for further assistance. You can also browse their website at http://www.adobe.com/products/postscript/.

  • Anyone know of a good DATA diff tool? assume schemas are the same...

    Hi,
    I was wondering if anyone has used or come across any tools that compare data across schemas. We can assume the table structures in 2 schemas are identical and we just want to detect data diffrences between them.
    I can think of a way to do this with some PL/SQL but thought the problem was common enough that a tool might already be available.
    Oh - and I need to wrap processing around this so it would need some sort of API (i.e. I'm not looking for a GUI)
    Thanks!
    Message was edited by:
    ennisb
    Message was edited by:
    ennisb

    Thanks.
    I'm on 10G and this looks to be an 11G tool?
    But this comment made me unsure...
    Can be used to compare tables, views, and materialized views backward compatible to 10gR1 due to need for ORA_HASH.

  • Microsoft Platform Ready Test Tool - Select Primary Executable when they are on a different server

    I am using the Microsoft Platform Ready Test Tool 4.1 and am trying to run through the SQL Server 2012 Data Platform Test
    My SQL Server 2012 is running on a Windows 2012 server, and all the prerequisite tests are passing.
    But then I come to step 1: Select Primary Executable(s) of Your Application, and get the followin error Message:
    You must identify your application's primary executable(s) in the below list. If no executable is displayed below, you must browse and add your applications's primary executable that makes the connection to SQL Server. If your application is IIS/PHP/COM+
    based solution, then you must add the corresponding framework executable(s) that makes the connection to SQL Server.
    So, my Application is a .Net 4.5 web Application that is running on a diffent VM from the SQL Server.
    So my question is then: How can i add the files needed? And which files am i supposed to add anyway?

    Hi Bjørn Otto,
    If you need to verify the SQL Server 2012 application using Microsoft Platform Ready Test tool, you can add ssms.exe in the ‘Select Primary Executable’ page. For more details, you can review the similar guideline which can be downloaded from below link:
    https://mprprod.blob.core.windows.net/assets/us/MPR_SQL2008R2_GUIDE_05092012.docx
    About adding the executables for other applications such as  .Net application deployed in IIS, you can review the list in this
    blog.
    Meanwhile, since the Microsoft Platform Ready Test tool is not part of SQL product, I would like to recommend that you also ask it in this
    forum. It is appropriate and more experts will assist you.
    Thanks,
    Lydia Zhang

  • I have a problem with Firefox. The checkbox for "Block pop-up windows" under Tools – Options – Content unchecks itself when I close the browser.

    In other words, I can go into the content tab, check the box to stop pop-ups, but if I close the browser, and then reopen it, the box is no longer checked. What is the cause of this?

    cor-el
    Thank you for your help. Unfortunately, none of the fixes that you directed me to worked; the “safe mode” fix, prefs.js change to prefs.jsOLD fix, the blow it out and reinstall fix; and prefs-1.js does not exist. I’m willing to try any other fixes you can think of, so send them along if you have any.
    One thing that did come to mind though is; the extension “.js” is for java script. And, with Firefox 6.0 installed, the Java 6 Update 26 is disabled, with the message under add-ons – extensions being, “Java Console is incompatible with Firefox 6.0.” Could this be the reason I can’t get the “Block pop-up windows” box to remain checked?
    I’m not an IT guy, so any further help will be appreciated.
    Clay Z

  • Can someone please tell me why when I order an Itunes app. , do I always get charged twice for the same thing.  It has happened on two different occasions.  Does it have anything to do with having 2 different ipods linked to the same account?

    Can someone please tell me why when  i order an app on my sons ipod, do I get charged twice for it?   When I tried do report a problem with the charge, it said that I can not get a refund on that item.   This is the second time this has happened to me.   Does it have anything to do with having more then one ipod linked to the same account?   Thanks for any help you can give me!!!

    It has nothing to do with have more than one device using that account.
    After you purchase it once, you redownload it on other devices by the following, not like purchasing a new app.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    If you really got charged twice for purchases the same app twice with the same account contact iTunes again by:
    Apple - Support - iTunes - Contact Us
    Make sure that they are really the same app first.

  • When i open itunes it wont open and saying i have to re download it and when i do the same thing pops up i have a hp pavilion

    i have tryied to download it over, restart it and it still wont come up

    When you are attempting to do this restore you did connect your iPhone to your computer and then did the restore using the iTunes on the computer?

Maybe you are looking for

  • Hard Drive failure on my Macbook Pro Laptop?

    My hard drive has failed and the laptop is just out of warranty. Should I spend the extra and replace the hard drive with an SSD drive? My previous laptop hard drive also failed so I am thinking spinning drives may not be the best thing - please any

  • Using a television as a second display

    In order to watch videos and movies on a larger scale I'm wanting to connect my new aluminum macbook to my television. Is it possible to use a USB -> component video adapter to create this connection, or do I have to use a DP cable of some sort? Is t

  • Error occured while Saving The Project

    I have a project that is giving me a 'unknown error occurred while saving the project. Select 'Save As' from the file menu and save the project to a new location'. It would seem that maybe it's saying that it's out of room but I'm saving on a harddis

  • News Videos will not play just get black Screen

    I have IE 11 and FP12. When I click on a news video get black screen with message need FP 9.0.115. Why does the video not work?

  • Counting HTML Rows

    Is there any way to count the rows in a HTML table? The user of the site is able to add and remove rows on the page and I need to be able to count the rows so I can update a database. Is it possible with some JavaScript or VBScript? Thanks