Quick takes from developers at work.
Tips, fixes and short write-ups on what developers ran into this week, in their own words.
In this blog, I am trying to explain how I solved "connection timeout" errors while executing SQL Jobs, which are part of primary node in "AlwaysOn" multi subnet AG setup

In this blog, you will learn how you can find all the months of a particular quarter.

Sometimes this happens when you start Windows and Open Microsoft SQL Server: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)

Table Valued Parameter allows a table (i.e multiple rows of data) to be passed as a parameter to a stored procedure.

In this blog, we will understand how to resolve "cannot connect to a local\remote SQL Server instance using SQL Server authentication with a error code: 18456".

In this blog, I have added div tag in the stored procedure, as I used in ASP.NET html.

Triggers are associated with the table or view directly.

We can remove Null values in Table data.

This blog acquaints you with aborting/ killing a long running stored procedure.

By executing a SQL query, we can get detailed information about what date and time the table and stored procedure were created.

The "exists" condition is used to check if there is any table and stored procedure with that name.

This blog demonstrates why stored procedures are outdated.

Pivot is an operator in SQL Server.

Temporary tables are created in TempDB database and are automatically deleted, when they are no longer used.

Case statement is mostly used in Real Time scenarios

This article emphasizes that there is no need to delete a whole table. Instead, write SQL query to get this result.

UNPIVOT operator is the reverse process of PIVOT operator.

This blog illustrates SET NOCOUNT ON and SET NOCOUNT OFF, which are very useful in real time scenarios inside stored procedure in SQL Server.

INSTEAD OF DELETE TRIGGERS are used, to delete records from a view.

INSTEAD OF UPDATE TRIGGERS correctly update a view.

This blog acquaints you with deleting duplicate records from a table in SQL Server, using ROW_NUMBER.

INSTEAD OF triggers are usually used to correctly update views that are based on multiple tables.
Everything on SQL Server, not only its blogs: the SQL Server page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite a blog post and earn +250 SHARP when it is approved.
Write a blog