top of page


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...
-
Dec 13, 20212 min read
248 views
0 comments


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?...
-
Dec 10, 20211 min read
198 views
0 comments


Find SQL Server Statistics Updated Date
This SQL Server Tutorial talks about finding out the last Statistics Update Date in SQL Server. We all know that Statistics are vital for...
-
Dec 10, 20211 min read
427 views
0 comments


When my SQL Server database was restored ?
When my SQL Server database was restored ?
-
Dec 10, 20211 min read
49 views
0 comments


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...
-
Dec 10, 20211 min read
33 views
0 comments


Identifying SQL Agent Job from the format - SQLAgent - TSQL JobStep (Job 0xC4A075BBC7D7FB4993E60371
This article helps you get the SQL Server agent job name from the hexadecimal Job ID format. Let’s say you have deadlock information that...
-
Dec 10, 20211 min read
2,653 views
0 comments


SQL Script to fix Orphan users in SQL Server database
This blog post explains Orphan user and provides a script to fix Orphan users in SQL Server database. The basic process to create a...
-
Dec 9, 20212 min read
3,091 views
0 comments


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...
-
Dec 8, 20212 min read
156 views
0 comments


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...
-
Dec 8, 20211 min read
284 views
0 comments


Fix error "Agent XPs disabled" in SQL Server
This article explains the steps to fix the SQL Server agent error "Agent XPs disabled" using T-SQL scripts. Error details You might see...
-
Dec 6, 20211 min read
1,074 views
0 comments


Restore database in SQL Server Always On Availability Group
In this blog, we will look at how to restore a database participating in SQL Server Always On Availability Group using the T-SQL scripts....
-
Dec 6, 20212 min read
3,872 views
0 comments


SQL Server 2019: "String or binary data would be truncated"
This article explains in-depth what the error message "String or binary data would be truncated" means and how you can identify which...
Rajendra Gupta
Dec 1, 20212 min read
140 views
0 comments


Find databases list where user has access in SQL Server
Recently our client wanted to know if there's a way for him to figure out which additional databases his user has access to. When we...
Rajendra Gupta
Nov 25, 20211 min read
110 views
0 comments
bottom of page