We use the operators to identify the contact list to send mail to. Right click on Operator under SQL Server Agents and call New Operator. …
Read More »MSSQL
How To Configure Database Mail On SQL Server
Under Management on SSMS, right click on Database Mail and select Configure Database Mail. Click “Skip this page in the future” and next. On …
Read More »Always On Availability Group Alert System
There are a few important things to check for SQL Server Always On Availability Group. Did the failover occur on any AG? Does the transfer …
Read More »How To Create Temp Table On SQL Server
In SQL Server, tsql code developers may occasionally want to temporarily keep records on a table. This can be done by creating a table …
Read More »How To Create CHECK CONSTRAINT
Check Constraint limits the values that can be entered into a column. Check Constraint works on Row basis. Allow Null Values to be inserted. …
Read More »How To Send Email For Failed Logons
As a Database Administrator, we need to follow Failed Logons. And we need to warn users for unauthorized access attempts. Or if there is a …
Read More »SQL Server Trigger Types
Trigger is used to trigger another event when an event occurs in the database server. There are 3 types of trigger. 1) DML(Data Manipulation Language) …
Read More »Cursor Usage In SQL Server
WHAT IS CURSOR? In SQL Server, the Cursor walks through the recordset, which is returned as a select result, to perform a transaction on each …
Read More »Differences Between Temp Table and Table Variable
I wrote some articles about Temp Table and Table Variable. In general, people who are new to tsql code development are wondering which one …
Read More »What is Table Variables
Table Variable is a special data type. In the query we can create and insert a result set into the table variables and use …
Read More »