Database development

Understanding DROP TABLE IF EXISTS SQL Statement

Database development, Statements

The T SQL DROP TABLE IF EXISTS statement is used to drop existing database objects. In this...
Read More

SQL AVG Function: A Complete Guide

Database development, Statements

In mathematics, the Average value represents the middle value that we calculate by dividing the sum of all values by the number of values....
Read More

Provisioning an Oracle Autonomous Database

Cloud, Database development

Let’s assume that you are developing a data warehouse project, and your team needs the appropriate environment immediately and under the...
Read More

SQL Server TRIM, LTRIM, and RTRIM Functions

Database development, Statements

The TRIM function of SQL Server is designed to remove leading and trailing whitespaces from a...
Read More

SQL CASE: Know and Avoid 3 Lesser-Known Hassles

Database development, Statements

SQL CASE? Piece of cake! Really? Not until you bump into 3 troublesome issues that can cause runtime errors and slow performance. If you...
Read More

Query Optimization Techniques in SQL Server: 5 Best Practices to Boost Queries Performance

Database administration, Database development, Performance Tuning, Statements

What is query optimization in SQL Server? It’s a big topic. Each technique or problem needs a separate article to cover the bases....
Read More

9 Best Practices for Writing SQL Queries

Database administration, Database development, MySQL, Oracle, Performance Tuning, PostgreSQL, SQL Server, Statements

If you are reading this article, most probably, you are already familiar with SQL. You know how to...
Read More

SQL FOREIGN KEY CONSTRAINT: The Ultimate, Easy Guide for Newbies

Constraints, Database development

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...
Read More

3 Methods to Rebuild All Indexes for All Tables with T-SQL in SQL Server Database

Database development, Indexes, Languages & Coding, T-SQL, Tables

There are several methods of how to rebuild all indexes of all tables in SQL Server, among them: Using SQL Server maintenance plans. Using...
Read More

SQL Server: Renaming Indexes using the sp_rename Procedure

Database development, Indexes, Stored Procedures

Not so long ago, I was working on a project where we needed to change the data type of a table. The...
Read More
Close