If there is a variable in the script we run and we have not declared this variable, we will get this error. For example, …
Read More »MSSQL
How To Find and Change Owner of All Databases in an Instance in SQL SERVER
Sometimes, we can receive the below error. SSPI handshake failed with error code 0x8009030c, state 14 while establishing a connection with integrated security; the …
Read More »How To Solve Errors in DPM Backup(Failed Backups in DPM)
DPM (Data Protection Manager) is Microsoft’s software for backup. Before reading this article, I recommend you to read other articles related to DPM on …
Read More »UNION and UNION ALL Operators in SQL Server(TSQL)
With UNION and UNION ALL Opertors, we can merge multiple sql statement’s result in a single result set. When we merge two SQL statements …
Read More »Testing SQL Server Database Connection
Sometimes the application owners can come to you because the application cannot connect to the database. In this case, a DBA must first test …
Read More »SQL Server Data Types(TSQL)
It is a very critical step to correctly determine SQL Server Data Types when designing tables to prevent unnecessary growth of the database. The space …
Read More »Declare Variables in SQL Server(TSQL)
In this article I will describe how to declare variables in TSQL. We can declare variables in a few different ways. • Declare a …
Read More »Deleting Files with a Specified Extension in a Folder Using Maintenance Plan(Maintenance Cleanup Task)
We perform maintenance operations on SQL Server using Maintenance Plan. This article describes how to delete files with a specified extension in a folder. I …
Read More »ALTER TABLE Statement in SQL Server(TSQL)
We can perform the following operations with ALTER TABLE Statement. Add a column to a table Delete a column from a table Change the data …
Read More »Suddenly, AlwaysOn AG Replica was failed.
Last night, a customer started to receive error messages about one of the Replica in an AlwaysOn Availability Group configuration. Error messages were related …
Read More »