Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.

Explains common SQL Server database design, deployment, drift, and versioning challenges, and how SQL Server Data Tools helps manage schema changes.

In this Article I explain how to create a simple Inventory Management transaction Using Insert, Update and Delete Trigger.

This article is looking deep into storage structures starting with the Heap table. This is something to become familiar with as part of the basics of SQL Server internals.

In this article you will learn about SQL Server JOINS for all .NET Developers.

Thisarticle dscribes Query Notification in SQL Server.

It is very common for applications to have hierarchical data, in other words data with a parent-child relationship among entities. This article explains recursive queries using a Common Table Expression (CTE).

Developers often need to transform table data, convering rows to column or column to rows. We can do that using the SQL Pivoting feature.

In this article we learn how to generate a database script for database backup purposes and how to correspondingly restore a database using the script we created. We also regenerate an entire database using a database script.

Today I will discuss on the very interesting topic NOWAIT in Sql server. How to use this and where to use NOWAIT in real time.

This article explains how to add parameters to a SQL Server Reporting Service (SSRS) including how to create a new SSRS report and how to write a query with parameters.


This article shows how to store XML documents and fragments of documents in a SQL Server database.

Learn how SQL Server parameter sniffing affects cached execution plans and explore workarounds using recompilation, query hints, dummy variables, and decision-tree procedures.

This article explains how to determine if the database was upgraded from a previous version of SQL Server or if it was created on the existing instance of SQL Server using an internal version number.

This article explains how to avoid unnecessary compilations by reducing the number of ad hoc query in the cache plan using parameter sniffing in SQL Server.

Dear reader today we will discuss another important and well demanding topic that is replication.

Create a SQL Server AFTER UPDATE trigger that copies updated records from one table to another, then call the update operation from an F# Windows Forms application.

This article explains the rowversion datatype and provides a small demo of how to use rowversion to Sync data changes done in a table to another table.

In this article, we will look into a new feature of VS 2012 to connect SQL databases hosted locally or on SQL Azure using SQL Server Object Explorer.

Throw keyword is introduced with SQL server 2012. Throw is used to raises exception and transfers execution to a CATCH block in SQL server.

In this article I will be covering the most commonly used new functions in SQL Server 2012.

Entity Framework 5 has been released with .Net framework 4.5 and it now supports user-defined table valued types as a parameter in a Stored Procedure.

SQL Server 2012 introduced the four new conversion functions: TRY_CAST, TRY_CONVERT, PARSE and TRY_PARSE.


SQL Server 2012 introduces two new logical functions: CHOOSE and IIF.

This article describes the most important Interview question for every DBA.

This article explains 7 new date functions in SQL Server 2012..

SQL Server 2012 introduced two new string functions: Concat and Format.

In this article I am trying to explain the alternatives for Cursors. We shall use a Cursor when there is no other option than Cursor.

Everything on SQL Server, not only its articles: the SQL Server page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article