Click here to Skip to main content
15,884,836 members
Everything / Database Development / SQL Server

SQL Server

SQL-Server

Great Reads

by Wonde Tadesse
This tip/trick helps to set a default value for blob data type such as Image, VarBinary.
by Jovan Popovic(MSFT)
Mapping properties in EF model to database columns that contain JSON
by Steve Krile
Fully AJAX-enabled user control used to select names from a database in a drop-down format.
by Mubin M. Shaikh
Create time dimension with 24 hour plus values and time buckets in your data warehouse

Latest Articles

by GabrieleTronchin
A simple stored procedure to add at your database to keep it reactive
by GabrieleTronchin
Automatic creation of non clustered indexes using system SQL entities
by yuvalsol
POCO generating application for SQL Server
by scastelli
SQL resolves special character challenges, streamlining NULL parameter handling

All Articles

Sort by Title

SQL Server 

15 Jun 2012 by Rick Bassham
How to use the SqlChangeMonitor with the new MemoryCache class in .NET 4.0.
7 Dec 2020 by Jin Vincent Necesario
This article shows you the basics of SQL Schema using the DDL statements.
10 Mar 2019 by Rajat-Indiandotnet
As a product owner, you always worried about the different security aspects of your application and SQL Server Database is one of the main important parts for which you might worry.
16 Nov 2010 by mazhou
Ad-hoc pagination support with SQL Server codenamed “Denali”
2 May 2013 by Amogh Natu
This post shows how to insert a comma-separated string into multiple rows in a table in SQL Server.
19 Oct 2016 by Manjuke Fernando
24 May 2011 by Mel Padden
A script that analyzes the text of each individual object and builds a tree of what depends on what.
28 Jun 2010 by Raymund Macaalay
If you want to audit what's happening on your SQL Server, then look no further. SQL Server 2008 has a built in function for that...
19 Jul 2012 by Tejas Vaishnav
Auto incremented ID using VARCHAR data type
27 Dec 2018 by Vivek Johari
Creating an Azure SQL Database Contents Introduction Creation of Azure SQL Database Step 1: Select Database Name Step 2: Select Azure Subscription Step 3: Choose Resource Group Step 4: Choose Database Source Step 5: Choose SQL Server Step 6: Choose Elastic Pool Option Step 7: Choose Service Tier for
4 Jan 2010 by Sacha Barber
A while back I posted a blog post about a simple Circular Progress Bar that I did for WPF.
18 Jan 2013 by Paul S. Chapman
How to improve the creation of XML message requests using Reflection, XML and XSLT
22 Jun 2010 by JasonShort
Plugins are used in data applications to support more than one provider from a single codebase. The Provider Factories in ADO.NET is one such example, but you cannot work with the provider specific features when you use these factories since they only implement generic ADO.NET functions.
11 Jan 2016 by essentialSQL
Basic concepts of built-In functions in SQL Server
26 Mar 2012 by Rui Jarimba
This is the first of a two part series about how to perform bulk inserts in your .NET applications, using a SQL Server database.
7 Mar 2020 by Rob Kraft
The benefit of this approach is that you can then regularly scan your entire code base for the use of .ExecuteReader and .ExecuteNonQuery knowing that there should be no cases of those methods, other than the exception cases you expect.
22 Sep 2017 by Anton Burtsev
A few months ago, I had to optimize web portal (classified ad). The portal was built on ASP.NET 1.1. It seemed that portal had two main problems. Here is how I solved them.
1 Mar 2017 by Neeraj Kaushik1980
Following are the step by step instructions to enable and use the change tracking feature in SQL Server.
18 Nov 2013 by skydger
Checking MS SQL Server database files default paths.
30 Dec 2015 by Ivan Krivyakov
Christmas Carol: XML Signatures
13 Mar 2019 by essentialSQL
Examples of common data types in SQL Server and how to define them
5 Jan 2016 by essentialSQL
Commonly used SQL Server data types
19 May 2011 by Ben Liebert
Comparing the performance of AppFabric against SQL Server
29 May 2018 by Manjuke Fernando
Computed columns in SQL Server
15 May 2011 by David Truxall
Configuring CRM 4.0 for SSRS Without the Data Connector
18 Dec 2016 by Afzaal Ahmad Zeeshan
Overview of SQL Server on Linux
10 Aug 2010 by User 6619207
How to copy a table using SQL Server Management Objects
17 Feb 2013 by Tharaka MTR
How to count consecutive dates using SQL
2 Jul 2021 by Kevin Chadney
Creating a simple SSMS extension which accesses the query window and object browser.
2 Aug 2011 by Nadege Rouelle
How to create a database project with Visual Studio
11 Apr 2010 by Mohammad Elsheimy
Give the user the flexibility to design his sheet, report, bill, invoice, whatever.
16 Oct 2016 by Z Kavtaskin
How to create a Custom Key Store Provider for SQL Always Encrypted (Without Key Vault Example PoC)
29 Dec 2016 by essentialSQL
Introduction to cross join - create row combinations
31 Jan 2014 by Rohitmssqlfun
The 8th cumulative update release for SQL Server 2008 R2 Service Pack 2 is now available for download at the Microsoft Support site.
29 Jan 2014 by Rohitmssqlfun
Cumulative Update – 9 for SQL Server 2008 R2 Service Pack 2 Is Now Available!
21 Jan 2013 by MJ Ferdous
Data Import from Excel File and building an Automated Insert Script to Export into Excel File or to Export into SQL Server Table
31 Jan 2014 by Rohitmssqlfun
Data purity issue after upgrading SQL 2000 to later versions
13 Jun 2011 by Andrew Zwicker
A continuation of the data dictionary discussion with information about how the documentation is done
10 Jun 2011 by Andrew Zwicker
Why table and column documentation is useful and some SQL for setting up the data dictionary tables
1 Dec 2022 by DotNetLead.com
Deploy existing ASP.NET Core UI, API, and SQL Server to Docker containers
17 Nov 2010 by Vivek Johari
Basic information about the different ways of creating a table
18 Apr 2013 by Rohitmssqlfun
This DMV allows you to discover a lot of very interesting and important performance information about your cached stored procedures.
12 Jan 2010 by Martin Hinshelwood
From time to time your website structure may change. When this happens you do not want to have to start from scratch with your Google rankings, so you need to map all of your Old URLs to new ones.
24 Aug 2016 by Manjuke Fernando
DROP IF EXISTS in SQL Server 2016 (DIE)
7 Nov 2013 by Raymund Macaalay
The easiest way to cancel all SharePoint workflows in progress
7 Feb 2013 by Patrick Cunningham
This article uses 8 steps to create example of how to read and write from HTML to a SQL database in a .NET web application using jQuery, JSON, and XML.
19 Dec 2011 by Raymund Macaalay
How to change collation of all database objects in SQL Server
10 Jul 2013 by vinothharshad
Except vs Not In in SQL Server
21 Mar 2013 by Rui Inacio
Fixing the SSDT unresolved reference to object error
27 May 2013 by Tharaka MTR
Generate insert statements from a specific table data using SQL Server
25 Oct 2013 by Sadeque Sharif
Generate script from Microsoft SQL Server Management Studio.
28 Jun 2012 by PeteBarber
How to generate a SQL Server CE database schema from a SQL Server database using Entity Framework
29 Apr 2016 by Mayur V Lohite
6 Feb 2015 by essentialSQL
This is the second in a series of articles about subqueries. In this article, we discuss subqueries in the SELECT statement’s column list. Other articles discuss their uses in other clauses.
22 Oct 2014 by essentialSQL
Introduction to Inner Joins in SQL Server
22 Oct 2014 by essentialSQL
Introduction to Outer Joins in SQL Server
29 Oct 2014 by essentialSQL
Grouping results returned from your queries using the GROUP BY clause
23 Oct 2014 by essentialSQL
Simplified Data Modeling in SQL
2 Jun 2020 by Kevin Mack
Few ideas for strengthening micro-services architectures
23 Oct 2012 by MBigglesworth79
SELECT @Variable vs SET @Variable in SQL-Server
15 Nov 2013 by Johan Ohlin
Group concatenation in T-SQL using CTE.
14 Aug 2019 by essentialSQL
How to combine results from more than one table
30 Dec 2017 by essentialSQL
In this video, we'll walk you through how to use the LIKE clause.
22 Apr 2018 by Rajat-Indiandotnet
How to easily unpivot pivot data in SQL Server
7 Aug 2023 by zidane168
Use SQL triggers to keep track of the changes made to your data
4 Nov 2013 by Raymund Macaalay
This post will show you how to archive SharePoint List Items to SQL Server
23 Jul 2012 by Rui Inacio
To bulk insert efficiently, the SqlBulkCopy class must be used.
10 Jan 2015 by Afzaal Ahmad Zeeshan
An overview for connecting an ASP.NET website or a web application to a remote SQL Server database
16 Nov 2010 by Vivek Johari
This article will try to show how to find duplicate values in a table.
26 May 2013 by Tharaka MTR
This post will show you how to fix orphaned SQL users.
22 Jul 2011 by rusanu
How to Multicast messages with SQL Server Service Broker
22 Jul 2011 by rusanu
How to pass a NULL value in a message to a queue in SQL Server
17 Dec 2012 by Nitesh Kejriwal
How to retrieve the size of data files of all databases present in SQL Server and the actual amount used in these files.
2 Dec 2010 by Nadeem Afana
Illustrates an efficient method of returning random rows from a SQL Server database
19 Feb 2013 by Rohitmssqlfun
This post discusses how to save deadlock graph events as .xdl file in SQL Server.
2 Nov 2019 by Ghanshyam N Patel
How to shrink SQL Server database log file
26 Jan 2013 by Shahriar Iqbal Chowdhury/Galib
This post shows you how to solve SSIS Error Code 0xC020801C/0xC004700C/0xC0047017
22 Aug 2010 by atverma
In this article I’ll discuss about unit testing SQL Server 2008 Database project using Visual Studio 2010.
23 Aug 2010 by atverma
In this article I will explore the important features that can be configured to build comprehensive database unit tests.
23 Aug 2010 by atverma
This is the last article of the series “How to unit test SQL Server 2008 database using Visual Studio 2010”.
15 Jul 2011 by rusanu
A technique to make tables with columnstore indexes updateable
15 Jul 2011 by rusanu
A very simplified explanation of how column store indexes can be used
15 Nov 2013 by Johan Ohlin
How to use recursive CTE calls in T-SQL.
31 Dec 2011 by Dave C Andrews
Use ROW_NUMBER() to enumerate and partition records in SQL Server
4 Sep 2013 by Betclic Tech
How we improved database code quality
29 Aug 2010 by Vivek Johari
Identity property in SQL Server
2 Feb 2012 by raju melveetilpurayil
Explaining how to store,display, create thumbnails and add watermark on image
28 Apr 2010 by Duy H. Thai
Some frequently-used methods for image handling in .NET
16 Feb 2016 by Manjuke Fernando
What is the difference between Index REBUILD and REORGANIZE and when exactly should you use it
6 Oct 2015 by Mithun Pattankar
Step by step process of installation of SQL Server Express 2014 on Windows 10
3 Sep 2012 by Manjuke Fernando
How to install SQL Server Data Tools
4 Nov 2016 by essentialSQL
Introduction to SQL Server Data Modification statements
16 Nov 2010 by Vivek Johari
2 Jan 2016 by essentialSQL
Introduction to SQL Server's built-in conversion functions
4 Jan 2016 by essentialSQL
Introduction to SQL Server's built-in logical functions
2 Jan 2016 by essentialSQL
Introduction to SQL Server’s Common String Functions
20 Sep 2012 by Manjuke Fernando
Briefly describing the features in SQL Server Data Tools.
30 Dec 2017 by essentialSQL
Benefits of stored procedures and how to create and execute them
29 Jan 2012 by Kunal Chowdhury «IN»
Join Hint in SQL - Guest post by Joydeep Das
12 May 2016 by Sibeesh Passion
Some shortcuts that may be useful to you when you work with SQL Server Management Studio