Tag: sql server

Dynamic SQL vs Stored Procedure

SQL Server

Dynamic SQL and stored procedures are among the most important SQL Server components. Both have...
Read More

Using Indexes in SQL Server Memory-Optimized Tables

Database administration, Database development, Indexes, Memory Optimization, Performance Tuning

Introduction In this article, we will discuss how different types of indexes in SQL Server memory-optimized tables affect performance. We...
Read More

Implementing a Common MS SQL Server Performance Indicator

Database administration, Performance Tuning

Introduction There is often a need to create a performance indicator that would show database activity related to the previous period or...
Read More

Missing Indexes in MS SQL or Optimization in no Time

Database administration, Database development, Database Optimization & Structure, Indexes • One Comment

When executing a query, the SQL Server optimizer tries to find the best query plan based on...
Read More

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 SQL Server, the indexes (both, clustered...
Read More

SQL Server Index Backward Scan: Understanding and Performance Tuning

SQL Server

Table indexing strategy is one of the most important performance tuning and optimization keys. In SQL Server, the indexes (both, clustered...
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...
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 across a set of rows, without the need to...
Read More

Setting Database Access Permissions

Database administration, Security

Server security mainly depends on how correctly you can configure access permissions on objects....
Read More
Close