Database development

SQL Server Index Backward Scan: Understanding, Tuning

Database development, Indexes

Table indexing strategy is one of the most important performance tuning and optimization keys. In...
Read More

Creating Dynamic Pivot Table with QUOTENAME Function

Database development, Statements, Tables

In my previous article on the basic pivot operator, we saw how pivot operator could be used to convert rows to columns, resulting in pivot...
Read More

Database Optimization: Indexes

Database administration, Database development, Database Optimization & Structure, Indexes

I noticed that very few people understand how indexes work in SQL Server, especially Included Columns. Nevertheless, indexes are the great...
Read More

Methods to Rank Rows in SQL Server: ROW_NUMBER(), RANK(), DENSE_RANK() and NTILE()

Database development, Statements

SQL Server provides us with a number of window functions that help us to perform calculations...
Read More

Performance of Table Variables in SQL Server

Database administration, Database development, Performance Tuning, Tables

In this article, we are going to touch upon the topic of performance of table variables. In SQL Server, we can create variables that will...
Read More

Understanding Pivot Operator in SQL

Database development, Statements

The pivot operator in SQL Server converts each row in the aggregated result set into corresponding columns in the output set. The pivot...
Read More

Query Optimization in PostgreSQL. EXPLAIN Basics – Part 2

Database development, PostgreSQL, Statements

In my previous article, we started to describe the basics of the EXPLAIN command and analyzed what...
Read More

Query Optimization in PostgreSQL. EXPLAIN Basics – Part 1

Database development, PostgreSQL, Statements

Why does it take so much time to execute a query? Why are there no indexes? Chances are you’ve heard about EXPLAIN in PostgreSQL....
Read More

Oracle as Workaround of Mutating Tables

Computer Environment, Database development, Tables

The Oracle mutating trigger error occurs when a trigger references the table that owns the trigger, resulting in the “ORA-04091:...
Read More

Oracle Regular Expressions. Dangerous Range

Computer Environment, Database development, Statements

An Oracle developer who often uses regular expressions in code sooner or later can face a...
Read More
Close