top of page
rajendra gupta
Feb 1, 20222 min read
SQL Server Dynamic Management View(DMV)- sys.dm_exec_requests
Execute the sys.dm_exec_requests DMV in SQL Server Management Studio to get the status of the backup or restore operations.
736 views0 comments
rajendra gupta
Jan 27, 20221 min read
Azure Cosmos DB introduction
Azure Cosmos DB is the next-generation database that offers the highest performance, availability, and scale, built for globally distributed
247 views0 comments
rajendra gupta
Jan 27, 20221 min read
Display dates between two input dates using SQL DATEDIFF function in SQL Server
SQL Server has a very useful function called DATEDIFF. This function is used to calculate the difference between the two dates. Read more he
2,636 views0 comments
rajendra gupta
Jan 25, 20222 min read
Identify When your SQL Database Was Last Used - SQL Server
I've seen several questions on the forums asking how to find out whether the SQL database is in use or not? Let's answer in this article.
17,355 views4 comments
rajendra gupta
Jan 10, 20221 min read
T-SQL script to get user session count with client IP address
Download a T-SQL script for SQL Server that will aggregate the number of active sessions for each unique IP address. This is useful for dete
136 views0 comments
rajendra gupta
Jan 10, 20221 min read
SQL Server Missing Index Script
If you ever find yourself in a situation where you're trying to troubleshoot performance on a SQL Server, then it's a good idea to look at
200 views0 comments
rajendra gupta
Jan 8, 20221 min read
How to take SQL SERVER backup to Azure Blob Storage
How to take SQL SERVER backup to Azure Blob Storage. This is a guide for SQL Server DBA to store SQL SERVER backup in Azure.
458 views0 comments
rajendra gupta
Dec 31, 20211 min read
What is the maintenance window for Azure SQL Database?
What is the maintenance window for Azure SQL Database?
54 views0 comments
rajendra gupta
Dec 31, 20211 min read
How to get Email Alerts on planned Maintenance events for Azure Services?
How to get Email Alerts on planned Maintenance events for Azure Services?
95 views0 comments
rajendra gupta
Dec 30, 20211 min read
Configure Max Degree of Parallelism (MAXDOP) for Azure SQL Database
Configure Max Degree of Parallelism (MAXDOP) for Azure SQL Database
457 views0 comments
rajendra gupta
Dec 26, 20212 min read
Generate Blocking tree in SQL Server and Azure SQL Database
Generate Blocking tree in SQL Server and Azure SQL Database
214 views0 comments
rajendra gupta
Dec 26, 20211 min read
Query To Kill All Active Connections in Azure SQL Database
Query To Kill All Active Connections in Azure SQL Database
260 views0 comments
rajendra gupta
Dec 17, 20211 min read
Approx_Count_Distinct in SQL Server 2019 and Azure SQL Database
Approx_Count_Distinct in SQL Server 2019 and Azure SQL Database
33 views0 comments
rajendra gupta
Dec 13, 20212 min read
SQL Server table Columns with NULL and NOT NULL values
This SQL article explains the SQL Server column property that has NULL or NOT NULL keywords specified in the CREATE OR ALTER table...
243 views0 comments
rajendra gupta
Dec 10, 20211 min read
SQL Server - Find Business Days Between Dates
Recently, my client asked me to calculate the date difference, excluding only Sunday. How do you calculate days using the T-SQL script?...
197 views0 comments
rajendra gupta
Dec 10, 20211 min read
Get a list of supported Time Zones in SQL Server and Azure SQL Database
Do you want to find out supported time zones in SQL Server and Azure SQL Database? If yes, get the query in this article. The...
32 views0 comments
rajendra gupta
Dec 8, 20212 min read
DATETIMEOFFSET SQL Server
The DATETIMEOFFSET can manipulate a single point in time value (DateTime Value) with the offset value. The offset specifies the value of...
135 views0 comments
rajendra gupta
Dec 8, 20211 min read
Difference between #table and ##table in SQL Server
SQL Server uses #table for Temporary table and ##Table for the Global Temporary Table. Let's understand the difference between these...
244 views0 comments
rajendra gupta
Dec 6, 20213 min read
Monitor Azure SQL Database and Managed Instance using dynamic management views
Monitor Azure SQL Database and Managed Instance using dynamic management views
130 views0 comments
bottom of page