Tag: sql server

Understanding Transactions in SQL

Database administration, Transaction Log • 2 Comments

A transaction in SQL is a unit of execution that groups one or more tasks together. A transaction...
Read More

Analysis of MS SQL Server for Those Who See It for the First Time

Database administration, Database Optimization & Structure

What Problems Will We Consider? If the server notifies “there is no more space on the E drive” – no deep analysis is...
Read More

The Lost Update Problem in Concurrent Transactions

Database administration, Transaction Log, Troubleshooting Issues

The lost update problem occurs when 2 concurrent transactions try to read and update the same data. Let’s understand this with the help...
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...
Read More

Configuring Database Mail Notifications in MS SQL Server

Database administration

Introduction Often, there is a need to somehow inform administrators about the problems with a server. Notifications are generally divided...
Read More

Synchronizing database structure between applications

Database administration, Database Optimization & Structure

Anyone who has ever developed applications that use a database has probably faced the problem of updating the database structure when the...
Read More

Understanding Dirty Read Problem with SQL Server

Database administration, Troubleshooting Issues

One of the most common problems that occur while running concurrent transactions is the Dirty Read...
Read More

Implementing OOP Inheritance in Classes that work with SQL and Entity Framework

Classes, Frameworks, Languages & Coding

This article is about creating a data model that would nicely fit SQL and contain “proper” OOP inheritance. I must say that I...
Read More

More about Introduction of Time zones in long-lived Project

Database administration, Troubleshooting Issues • 3 Comments

Some time ago, we started to adapt the system to the new market that requires support for time zones. Initial research was described in the...
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...
Read More
Close