22

I just found out about the TableDiff tool for SQL Server on the hidden features question and had a full-blown nerdgasm. I would like to download the tool, but everywhere I look I am told to look in C:\Program Files\Microsoft SQL Server\90\COM\TableDiff.exe. After looking everywhere on my PC (I have SQL Server 2008 Express and SQL Server 2008 installed), I can't find it.

Where I can download the TableDiff.exe tool stand-alone?

The GUI tool isn't the droid I'm looking for.

Community
  • 1
  • 1
Petrus Theron
  • 27,855
  • 36
  • 153
  • 287

7 Answers7

29

If you cannot find TableDiff.exe, re-run the SQL Server install and choose REPLICATION support.

TableDiff is officially "Microsoft (R) SQL Server Replication Diff Tool" and will be added when using Replication.

Brett Veenstra
  • 47,674
  • 18
  • 70
  • 86
11

My Windows Search is broken, or I'm an idiot. I found it here:

C:\Program Files (x86)\Microsoft SQL Server\100\COM\tablediff.exe

and NOT here as expected:

C:\Program Files\Microsoft SQL Server\100\COM

Thanks guys!

Petrus Theron
  • 27,855
  • 36
  • 153
  • 287
4

Not sure if you are running a 64bit OS as mine is located here:

C:\Program Files (x86)\Microsoft SQL Server\90\COM\tablediff.exe
MarredCheese
  • 17,541
  • 8
  • 92
  • 91
Kane
  • 16,471
  • 11
  • 61
  • 86
  • I looked there - that folder is just filled with a bunch of DLLs. But I am running a 64-bit machine...let me look deeper. – Petrus Theron Oct 07 '10 at 12:33
  • As per Svein Fidjestøl's comment below, if you're running 64bit SQL Server, it'll be in C:\Program Files\, not C:\Program Files (x86)\ – Frank Tzanabetis Feb 11 '16 at 23:27
3

On Windows with 64-bit SQL Server 2014, tablediff.exe is located here:

C:\Program Files\Microsoft SQL Server\120\COM\tablediff.exe

  • Replace 120 with 110 for SQL Server 2012, 100 for SQL Server 2008, etc.
  • For 32-bit version of SQL Server running on 64-bit Windows, replace Program Files with Program Files (x86)
Svein Fidjestøl
  • 3,106
  • 2
  • 24
  • 40
2

tablediff.exe is self defined, if you did not find in your machine, look at someone else machine and grab the exe.

Afazal
  • 542
  • 5
  • 9
1

I found it by this path

C:\Program Files\Microsoft SQL Server\140\COM
0

You can only find the tablediff.exe application back if you have choses the "SQL Server Replication" feature (Instance Features/Database Engine Services/SQL Server Replication).

I had a few servers where this feature was not installed and then you don't find the executable back.