About Jeremiah

I'm a senior database administrator with Cass Information Systems, a SQL Server MVP, director-at-large with PASS, and I also help out with my local chapter and the Application Development virtual chapter.

You can learn more about me or contact me directly.

Mirroring table changes through DDL triggers

Let’s say that we have an application that tracks and reports customer bills. Customers are able to view reports based on their bill. As time goes on, the customers have a need to create adjustments to their bill. It should be simple enough to add some identifying data to the bill to determine which [...]

Custom Sorting ArrayLists

A co-worker approached me with the problem of sorting an ArrayList of ArrayLists. Normally you might handle this in a DataTable or entity collection in your particular ORM. In this case, this was the data structure that was available to sort:
[[sortorder][type][message]
[sortorder][type][message]
[sortorder][type][message]]
Knowing a little bit about how ORM tools work, I made [...]

Meetings Aren’t All Bad

Normally, I hate meetings. Meetings are poison, for the most part. They kill productivity. Over the course of my career, I have been in very few meetings that couldn’t have been accomplished via a phone call or a 5 minute discussion in someone’s office.
Today I spent two and a half hours in [...]

Creating dynamic WHERE clauses

Sometimes you just have to be able to dynamic search criteria in a stored procedure. What’s going to be the best way to accomplish this?
You could use dynamic SQL and run the risk that you won’t have compiled execution plans, syntax highlighting, or readable SQL code. That’s not really an elegant solution.
Let’s get [...]