Quick takes from developers at work.
Tips, fixes and short write-ups on what developers ran into this week, in their own words.
This is a blog on my thoughts on TSQL formatting. There are quite a few suggestions that are out there. These are just the rules I have been following for a number of years and they have worked for me.

In this article Sagar Jaybhay explains how to write Subqueries and Correlated Subqueries in SQL Server and what to choose for performance -- Subquery or Join?

This post will cover the differences between Max Degree of Parallelism and Cost Threshold for Parallelism. These are two server settings that have a less the ideal default value. All DBAs should review these settings to determine if they should be changed.

This post will go over how you can use the DEADLOCK_PRIORITY to prioritize your processes so that the most important ones aren't chosen as victims of a deadlock.

Learn the difference between SQL Union and Union All. Code example Union vs Union All in SQL.

In this blog, I will explain to you how to apply a script or a query to multiple databases in a single execution using a database name.

This post will go very a few of the methods that can be used to capture failed logins to your SQL Servers.

This post will focus on how to find what logins are mapped to database user accounts in a SQL Server database.

In this blog, I will discuss the collate clause and also discuss how the expression type 'int' is invalid for collate clause error in the SQL server.

There are many issues when we work with SQL server. This blog will introduce a tool which we can use to repair corrupted SQL Server DBS

This blog post is for advanced T-SQL developers interested in implementing custom sequences. Customizing the sequence gives more flexibility while implementing a solution.

This post explains static and dynamic pivot query in SQL Server

In this blog, you will learn how to delete all duplicate rows or records from a table in SQL Server

The commands in this blog will help you to understand the way a table structure can be changed or altered. In this blog, one can find examples related to adding new columns, removing unwanted columns, increasing and decreasing the width of the columns, etc.

This blog post is related to the ALTER command. Whenever we want to change the structure of the table we can use the following commands as mentioned in this blog.

Basics about Data Integrity Constraints. Why and when to use a constraint is explained in this document with respect to Entity Integrity Constraint using Primary Key and Unique constraints.

In this blog, I will explain SQL JOIN Statements. These are used to relate one or more tables in SQL Server

In this blog, I will explain SQL user-defined functions
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