Quick takes from developers at work.
Tips, fixes and short write-ups on what developers ran into this week, in their own words.
This example demonstrates how to write and execute dynamic SQL Query in SQL Server. You can execute the Query using EXEC sql command and sp_executesql commands in SQL Server.

In this blog, the user can find out in which table records are deleted or inserted.

ACID properties are atomicity, consistency, isolation, and durability.

This blog will list different ways to use GETDATE() funtion in SQL Server 2008 R2. The major changes in the new SQL Server 2008 are the DateTime function and the introduction of new data types.

SQL Server 2008 R2 setup failed with “Error 1406. Could not write value to key \SOFTWARE. System error. Verify that you have sufficient access to that key, or contact your support personnel”.

SQL Server uses a process called parameter sniffing when it executes a stored procedure that has parameters. When the procedure is compile or recompiled, the value passed in the parameter is evaluated and used to create an execution plan and the same plan will be stored in plan cache.

In this blog, we will learn how we can merge the table data using merging statement.

Usually, we use * to select all the columns but if we have to select all the columns except one column, then we have to write all the required columns one by one. Here I am going to show how we can achieve it without writing all the columns one by one.

In this blog, we will learn how to setup AdventureWorks Database in Microsoft SQL Server 2014.

In this blog we will learn a basic description about DDL, DML, DQL, DCL, TCL in Sql Server.

This script will perform bulk insert of images, documents in table.

Bitwise operators in SQL server. Bitwise AND (&) and Bitwise Exclusive OR(^)(Caret symbol use in MS SQL server)

The delete query should delete all duplicate rows except one. The output should be as shown below, after the delete query is executed.

Most of the time, if we have to rename a table or rename a column, we usually drop table and create table again, but with this approach we lose data. This approach may work in a development environment but in production we may not want to lose data. So how to achieve this? In SQL Server we can achieve it easily.

This blogs talks about Indexed Views in SQL Server and the pros and cons of using them.

This script will create table definition along with unique key, primary key and indexes.

In this blog, I will demonstrate how to convert a table column in C# model class, using stored procedure.

In this blog, you will learn how to fix the error - "The Instance ID 'MSSQLSERVER' Is Already In Use By SQL Server Instance 'MSSQLSERVER.INACTIVE'.

Using this function, we can get a list of all transactions performed in the database. Function name is fn_dblog() (Formally known as DBCC command).

Time data type is a one of the new data type introduced in SQL Server 2008. It provided you the time with the accuracy of 100 nanoseconds.

In this blogI am going to write a function which returns the word count in sql server.

This blog helps to understand how we can do MS-SQL to JD Edwards date conversion.

This post provides some guidance on improving the slow performance stored procedures.

This blog show you how to use the nhibernate connection and transaction instead of opening a new ado connection.
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