Calendar
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Recent Entries
Come On In, Rails-The Water's Warm
Shan's Simple Examples: File uploads with Flex and ColdFusion
Recent Comments
Google Calendar API - Creating a new Calendar with ColdFusion
Steve Julian said: When and where are you going to post the finished CFC's ? Thanks
[more]
Three Phases of Programmer Development
Pat Branley said: I normally think of those phase 2 people as 'programmers' and the phase 3 people as 'developers'.
I...
[more]
New Job Title: Front End Engineer
Sean Corfield said: Well, there's always the excellent Fusion Authority Quarterly Journal...
[more]
Down To The Wire: HTTP Sniffers
Brian M said: I second the mention of the Charles Web Debugging Proxy that Tariq mentioned. It is fantastic. It s...
[more]
New Job Title: Front End Engineer
Patrick said: Heya Sean. Good point. I never understood how they did things over there at SysCon, and I understand...
[more]
Archives By Subject
Business of Software (4) [RSS]
ColdFusion (318) [RSS]
Conferences (6) [RSS]
Databases (87) [RSS]
Flex & Flash (109) [RSS]
Fusebox (87) [RSS]
General Development (29) [RSS]
Google (9) [RSS]
Hardware (5) [RSS]
JVM & Java (132) [RSS]
Linux (20) [RSS]
Miscellaneous (254) [RSS]
Performance (8) [RSS]
SeeFusion (36) [RSS]
Shan's Simple Examples (7) [RSS]
User Interface (3) [RSS]
Windows (5) [RSS]
Archives By Poster
Daryl Banttari (10)
Nat Papovich (29)
Patrick Quinn (36)
Shannon Hicks (22)
Steve Nelson (21)
Tyson Vanek (3)
Doing multi-server development with MSSQL? You need Red Gate tools.
About a year ago, I came across the Red-Gate suite of products for MSSQL. Between then and now, I've used SQL Compare and Data Compare about once a week, sometimes more often. These tools are one of those things that, once you have them, you ask yourself, "How did I survive without it?"
For example, let's say you're working on a database locally. You add a new table to your database, hooking up a couple foreign key constraints, and in the meantime, you remove an obsolete table.
But unbeknownst to you, your coworker (or Steve in my case), has added a different table to his copy of the same database. Oh and he added a few lookup records to a static table.
How would you synchronize these databases only using tools shipping with MSSQL?
Everyone would do it differently, but I'd start by reversing time and clicking the "Save changes to script" button on the new table designer in Enterprise Manager. Then I'd email that .sql file to Steve which would add it to his database. Oh and those new records he added? He'd set up a DTS to me or dump the data to a text file or script and send it to me to run from Query Analyzer. Or maybe he'd just synch his schema to mine and then restore a backup I took of my database. But then I'd have to zip up the bak file, email it to him... ugh.
These are all very do-able processes. In fact, I've spent a LOT of time managing this type of process. But it's a little kludgy, and far worse, it requires foresight, follow-through, manual merging and multiple steps.
Foresight to make scripted changes to the database and write down what changes are made.
Follow-through to actually push those changes to other servers.
Manual merging by the DBA of that server. (In the case of developer workstations, that means us.)
Multiple steps of scripting the change, sending it, getting him to update, and maybe back again. More steps means more chance for failure, more time spent.
The Red Gate tools eliminate all those headaches. Using SQL Compare, you just point your database to another database (LAN or Internet) and in a few short seconds, it identifies all differences. You check some boxes to declare which changes you want made, hit next-next-next, and it's all done. Then you can reverse the process to update in reverse.
Data Compare works similarly (although more slowly) to compare data in columns in tables. You can tell it only to compare specific tables (to avoid those ten-thousand-row-monsters) and you can save any comparison project to rapidly execute it in the future.
Best couple hundred bucks you'll ever spend if you work with MSSQL a lot.


http://www.red-gate.com/products/SQL_Prompt/
The developer support is also top-notch. We've never had an issue turnaround that took more than 24 hours.
Every developer should get a copy of this tool even if you work by yourself and need to update your own servers.
http://www.webyog.com/en/
We've used that for MySQL Administration for years now, and it's a really well-built tool. And while I'm not sure exactly how its synch/diff features compare to Redgate's, it does in fact have these features built-in. We've always found it to be a super fast, exceedingly non-buggy piece of software.
BTW, Sync Database for MySQL, it does it pretty well. It's made by Spectral something.