Tag: sql server

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...
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. Providing a user with excessive...
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...
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

Sending a Query to All Databases of All Specified Servers in MS SQL Server and C#.NET

ASP .NET CORE, Basics of C#

Often, it is necessary to send a query to all databases of all specified servers. Many DML-queries can be created with built-in tools....
Read More

How to Analyze Activity of One Database in SQL Server

Database administration, Database Optimization & Structure

Using one SQL Server instance for many projects is not unusual. However, defining the most active...
Read More

How Simple Is It to Move Data from Excel to SQL Server?

Database administration, Work with data • One Comment

What could be simpler than to get data from an Excel table in SQL Server? There are many ways to accomplish this task. You can utilize...
Read More

Common Mistakes of DBA in MS SQL Server

Database administration • 4 Comments

In this article, we are going to review DBAs mistakes, the consequences of which were quite perceptible and which I had to deal with. The...
Read More

How to Automate Data Collection on the SQL Server Database Growth

Automation, Database administration, Work with data

Introduction Often, there is a need to control the growth of all tables and files of all databases....
Read More
Close