SQL CASE: Know and Avoid 3 Lesser-Known Hassles
SQL CASE? Piece of cake! Really? Not until you bump into 3 troublesome issues that can cause...
Successful MySQL/MariaDB Backup and Recovery Strategies
A vital part of preventing any kind of data loss in any situation is having appropriate backup and recovery policies. It is also essential...
Query Optimization Techniques in SQL Server: 5 Best Practices to Boost Queries Performance
What is query optimization in SQL Server? It’s a big topic. Each technique or problem needs a separate article to cover the bases....
Basics of SQL Server Transaction Log
What is a Transaction Log? There is a requirement in relational database systems that transactions...
SQL Server BIT Datatype – Ultimate Guide
Introduction to Bit Data Type The data type represents an attribute that stores integer, character, data time, binary data. Suppose you...
9 Best Practices for Writing SQL Queries
If you are reading this article, most probably, you are already familiar with SQL. You know how to write basic SQL queries. There are many...
How to Download and Install SQL Server Express Edition?
SQL Server is Microsoft’s premier database management system that we can use to develop...
SQL FOREIGN KEY CONSTRAINT: The Ultimate, Easy Guide for Newbies
Newbie? Then an SQL foreign key may be foreign to you. You may have heard different opinions about SQL foreign keys. If you haven’t, soon...
3 Methods to Rebuild All Indexes for All Tables with T-SQL in SQL Server Database
There are several methods of how to rebuild all indexes of all tables in SQL Server, among them: Using SQL Server maintenance plans. Using...
SQL Server: Renaming Indexes using the sp_rename Procedure
Not so long ago, I was working on a project where we needed to change the data type of a table. The...