Code Monkey home page Code Monkey logo

dbdatacompare's Introduction

What is this?

DB Data Compare compares two database tables (or views) and highlights their differences. Those two tables can be from the same database or from two distinct databases. The tables names can be distinct as well.

Does it compare data or table schema?

Only compares table data.

How to run it?

Simply run the included binary prjDataCompare.exe or compile the sources.

How it works?

Before running the tool, you need to prepare either

  • One UDL file pointing to the database you want to connect, in case you need to compare tables from the same database.
    or
  • Two UDL files, in case you need to compare tables from two different databases.

Creating Universal Data Link files is very easy. The quickest way - on Windows - is to create an empty text document, change extension from txt to udl and double-click on it. You will be presented with a GUI that should be self explanatory. For more info, please check the link above.

Then, on the left side and right sides, select your UDL files and the tables you want to compare. You will be presented with the differences.

In the example below, we are checking the data differences on the DocPaper table from two databases (GoldDB.udl and GoldLaDB.udl).
screenshoot

You can see that they differ in the Key for Ticket and that the GoldLaDB.DocPaper table contains an extra record.

Why reinventing the wheel?

Well, I wrote this back in 2002 in one afternoon, using the beloved Delphi 7 at the time. I couldn't find any free tool quickly, so I decided to write my own.
This was done just to satisfy my needs back then, so the tool is pretty raw in terms of GUI appearance and performance, but is beautifully small.

Future plans?

Nope. I no longer work with Delphi and just decided to create this repository to post some of my old code, instead of being lost in some forgotten hard drive.
Nowadays, this kind of functionality is present in almost every IDE, so I don't have any reason or motivation to improve this tool.
Nevertheless, maybe some users might find this project interesting.

dbdatacompare's People

Contributors

ruisoftware avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.