Archive for the ‘Database’ Category

SQL Server export and compare for free

Saturday, December 18th, 2010

Why buy a tool to compare two SQL Server databases when you can do it for free?  Using SQL Server’s built-in export feature and an everyday source code diff tool, you can quickly zero in on differences between two SQL Server instances.  Schema comparison, view comparison and much more…

Read more »

MySQL increasing ID manually

Saturday, December 13th, 2008

Some times it’s necessary to assign a consecutively increasing ID field to a set of rows. Autoincrement is available, but you would need to leverage an INSERT in order to make use of MySQL’s autoincrement feature. Fortunately, it is possible to do this in place by using a separate counter variable in an UPDATE statement.

Read more »

Dealing with mid-study changes (data model)

Wednesday, March 19th, 2008

Whether you’re working on a big pharma clinical trial or a multi-site research study, changes will pop-up while the study is running. I have yet to find someone who enjoys changing electronic case report forms (CRFs), subject numbering schemes, or modifying user permissions in the middle of a study, but change requests will come and how you react to these changes defines the robustness of your design. It’s frustrating, and I’ve found that they are unfortunately a fact of life.

Read more »