top of page


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.
rajendra gupta
Feb 1, 20222 min read
Â
Â
Â


Get SQL Server Configuration using T-SQL
As a SQL architect or database administrator, it is required to know how to get SQL Server configuration using T-SQL. This post will share
rajendra gupta
Jan 28, 20221 min read
Â
Â
Â


SQL Server – Retrieve Physical Cores, Physical and Virtual CPUs, and Processor type information
Today's post describes SQL queries to get the following information about the processors of a SQL Server instance: 1. The total number of ph
rajendra gupta
Jan 28, 20221 min read
Â
Â
Â


SQL Server - How to comma-separated values into different columns
This article will demonstrate the method to store comma-separated values into different columns using SQL Server(T-SQL) query.
rajendra gupta
Jan 28, 20221 min read
Â
Â
Â


T-SQL Query to change Integration Services Catalog (SSISDB) database Master Key encryption password
Learn how to change the Master Key encryption password for an SQL Server Integration Services Catalog (SSISDB) database in SQL Server.
rajendra gupta
Jan 28, 20221 min read
Â
Â
Â


SQL Server agent jobs without notification using T-SQL
This article will describe how to get a list of SQL Server agent jobs without notifications using T-SQL . Read more here
rajendra gupta
Jan 28, 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
rajendra gupta
Jan 27, 20221 min read
Â
Â
Â


T-SQL query to change the job owners for all jobs owned by a specific login
Many SQL Server DBAs manage jobs through the SSMS GUI and do not know about the underlying T-SQL scripts being run. This blog shows how to u
rajendra gupta
Jan 25, 20221 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.
rajendra gupta
Jan 25, 20222 min read
Â
Â
Â


T-SQL Query to find Supported Compatibility Level Values in SQL Server
The question came up on the forum - how do I find all the possible values for a specific compatibility_level in SQL Server? Let's check .
rajendra gupta
Jan 19, 20221 min read
Â
Â
Â


T-SQL Query to find Orphan data and log files of SQL Databases
Are you a DBA? Then you'll love this free T-SQL script. This script helps you find orphaned data and log files of SQL Databases.
rajendra gupta
Jan 19, 20221 min read
Â
Â
Â


T-SQL Query to find SQL database age and number of tables in SQL Server
SQL Server - The following T-SQL statement helps find the SQL Database age based on the created date and number of tables.
rajendra gupta
Jan 19, 20221 min read
Â
Â
Â


How to disable current line highlight in SQL Server Management Studio(SSMS)?
How to disable current line highlight in SQL Server Management Studio(SSMS)?
rajendra gupta
Jan 19, 20221 min read
Â
Â
Â


Export Windows applications logs in CSV format using SQL Server query
The Windows application logs are used by various applications to write new events. This blog exporting these logs into CSV format
rajendra gupta
Jan 19, 20221 min read
Â
Â
Â


T-SQL script to Backup database SQL Server with TimeStamp
The T-SQL script takes a full backup of all databases(System databases and user databases) in the format of DataaseName-YYYY-MM-DD-HH-MM-...
rajendra gupta
Jan 19, 20221 min read
Â
Â
Â


Troubleshoot SQL Server Backup Error Msg 3231, Level 16, State 1
When you are experiencing SQL Server Error Msg 3231, Level 16, State 1 while backing up SQL Database, it is important to troubleshoot the er
rajendra gupta
Jan 18, 20221 min read
Â
Â
Â


Troubleshoot SQL Server Error for backups–: Msg 3136, Level 16
Is it possible to use COPY_ONLY backup for restoring differential backups? No, if you try to do so, SQL Server raises error Msg 3136, Level
rajendra gupta
Jan 18, 20221 min read
Â
Â
Â


The SQL NULLIF function
NULLIF is a SQL function that is used to compare two columns. Use NULLIF to compare two columns and return NULL if they are equal to each ot
rajendra gupta
Jan 18, 20222 min read
Â
Â
Â


How to Change Always On availability group mode
This topic describes how to change the availability mode of an availability replica in an Always On availability group in SQL Server by usin
rajendra gupta
Jan 18, 20221 min read
Â
Â
Â


Troubleshoot SQL Server Backup Error Msg 3132, Level 16
This blog troubleshoots SQL Server Error Msg 3132, Level 16, State 1 while backing up SQL Database.
rajendra gupta
Jan 18, 20221 min read
Â
Â
Â
bottom of page