Database development

Don’t like database triggers? You just don’t know how to work with them!

Database development, Triggers

When designing large relational databases, we often make a decision to diverge from a normal form,...
Read More

Counting references to a record in a table via Foreign Keys

Constraints, Database development

I have recently needed to solve the task for my own purpose: to calculate the number of external records linked by a foreign key for each...
Read More

Rules for Implementing TDD in Old Project

Database development, Testing

The article “Sliding Responsibility of the Repository Pattern” raised several questions, which are very difficult to...
Read More

Events and Threads in .NET

Database development, Events

I’d like to tell you straight off that this article will concern not threads in particular, but...
Read More

Introducing Common Table Expressions in SQL Server

Database development, Tables

Common Table Expressions, or CTE for short, is simply a technique to create a temporary set of records that can be referenced within an...
Read More

Introduction to Temporary Tables in SQL Server

Database development, Tables • One Comment

A temporary table in SQL Server, as the name suggests, is a database table that exists temporarily on the database server. A temporary...
Read More

Why Using Unit Tests is a Great Investment into High-Quality Architecture

Database development, Testing • 2 Comments

I have decided to write this article in order to show that unit tests are not only a tool to...
Read More

Eliminating Duplication of Where Expressions in Application

Database development, Statements

Assume you have products and categories. A client says that it is necessary to use other business processes for the categories with the...
Read More

Better ALTER than DROP

Database development, Statements

In this article, I am going to provide a construction for deleting an object before creating it....
Read More

What Can Query Plan Tell?

Database development, Statements

Introduction SQL query describes the expected result, not the way to get the result. The set of...
Read More
Close