Click here to Skip to main content
15,880,967 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 Updated

SQL Server 

7 Aug 2023 by zidane168
Use SQL triggers to keep track of the changes made to your data
1 Dec 2022 by DotNetLead.com
Deploy existing ASP.NET Core UI, API, and SQL Server to Docker containers
2 Jul 2021 by Kevin Chadney
Creating a simple SSMS extension which accesses the query window and object browser.
29 Dec 2020 by essentialSQL
Understanding SQL full outer join and its reconstruction through other join clauses
7 Dec 2020 by Jin Vincent Necesario
This article shows you the basics of SQL Schema using the DDL statements.
2 Jun 2020 by Kevin Mack
Few ideas for strengthening micro-services architectures
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.
23 Feb 2020 by essentialSQL
SQL COALESCE function and how you can test for null, and when present, substitute it for another value
4 Feb 2020 by OwenDavies
This post outlines how to use Docker image for local SQL Server development.
7 Jan 2020 by Rion Williams
Troubleshooting SQL performance: identifying issues, optimizing queries, utilizing tools efficiently
29 Dec 2019 by essentialSQL
How to calculate the median value using SQL
22 Dec 2019 by Rion Williams
Bug stories: Exposition, action, climax, resolution, or epic failures.
2 Nov 2019 by Ghanshyam N Patel
How to shrink SQL Server database log file
22 Sep 2019 by Shameel
This multi-part article series discuss migrating your databases, applications and services from SQL Server to PostgreSQL and discusses all the important information you need to be aware of, before beginning a migration project..
22 Sep 2019 by Shameel
Part 3 of this multi-part article series discusses the actual migration process: Schema and data migration, ETL/ELT, Reporting & OLAP, Scheduling and Applications & Services migration.. The post Migrating your SQL Server Workloads to PostgreSQL – Part 3 appeared first on The Developer Space..
21 Sep 2019 by Shameel
This article walks you through the summary of most important new features. enhancements and breaking changes in PostgreSQL 12.. The post PostgreSQL 12: New Features and Enhancements appeared first on The Developer Space..
21 Sep 2019 by Shameel
This article describes the new Stored Procedure feature in PostgreSQL 11.5 and shows you how it differs from Functions.. The post PostgreSQL finally gets Stored Procedures appeared first on The Developer Space..
21 Sep 2019 by Shameel
Part 4 of this multi-part article series discusses Maintenance and Monitoring, High Availability, Load Balancing, and Replication and Environment Stabilization.. The post Migrating your SQL Server Workloads to PostgreSQL – Part 4 appeared first on The Developer Space..
21 Sep 2019 by Shameel
Part 2 of this multi-part article series compares SQL Server and PostgreSQL article, database structure, language differences, data type mappings, functions and operators and other important considerations for migration..
18 Aug 2019 by Rob Kraft
SQL Server’s sp_executesql does not protect you from SQL Injection
14 Aug 2019 by essentialSQL
Query plans in SQL
14 Aug 2019 by essentialSQL
What is a Database Trigger?
14 Aug 2019 by essentialSQL
Truncate and Delete in SQL
14 Aug 2019 by essentialSQL
Difference between WHERE and HAVING clauses
14 Aug 2019 by essentialSQL
How to combine results from more than one table
14 Aug 2019 by essentialSQL
This post discusses the major parts of a SQL database
14 Aug 2019 by essentialSQL
In this blog post, you will learn about stored procedures
14 Aug 2019 by essentialSQL
What is a Data Dictionary in SQL Server?
14 Aug 2019 by essentialSQL
How to use SQL Server Date functions
3 May 2019 by Rion Williams
Smooth transactions with TransactionScope
26 Apr 2019 by essentialSQL
SQL COALESCE Function and NULL
26 Apr 2019 by essentialSQL
SQL Server Hierarchical Query using the hierarchyid type
25 Apr 2019 by essentialSQL
SQL DISTINCT Clause For SQL Server
13 Mar 2019 by essentialSQL
Examples of common data types in SQL Server and how to define them
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.
6 Mar 2019 by Melick
How to copy your production SharePoint database to development environment
3 Mar 2019 by essentialSQL
In this puzzle, we’re going to learn how to work with the AdventureWorks Bill of Materials table.  Companies use a BOM (Bill of Materials) to itemize the products that are used or contained in another product. Solving puzzles is a great way to learn SQL.
8 Jan 2019 by Jeremy Hutchinson
Update table rows with varying random values in SQL
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
24 Nov 2018 by Vivek Johari
Migrating SQL Database To Azure SQL Instance using Microsoft Database Migration Assistant (DMA) Tool Contents Introduction Microsoft Database Migration Assistant (DMA) tool Migrate SQL Server database To Azure SQL Instance using DMA tool Detecting the compatibility issues using Assessment Type
29 May 2018 by Manjuke Fernando
Computed columns in SQL Server
22 Apr 2018 by Rajat-Indiandotnet
How to easily unpivot pivot data in SQL Server
22 Apr 2018 by Rajat-Indiandotnet
Row Level security SQL Server 2016
10 Apr 2018 by Gaston Verelst
Why you would use Common Table Expressions
22 Jan 2018 by Steve Naidamast
SQL Server's LocalDB database engine
30 Dec 2017 by essentialSQL
In this puzzle, we’re going to learn how to query the data dictionary using SQL Server.
30 Dec 2017 by essentialSQL
In this puzzle, we’re going to learn how to find the person whose birthday, among others, is in the middle.
30 Dec 2017 by essentialSQL
In this puzzle, we’re going to learn how to create a dynamic pivot table using SQL Server.
30 Dec 2017 by essentialSQL
In this puzzle, we’re going to learn how to create a cross tab query using SQL Server.
30 Dec 2017 by essentialSQL
How to join dirty data using SQL Server
30 Dec 2017 by essentialSQL
In this video, we'll walk you through how to use the LIKE clause.
30 Dec 2017 by essentialSQL
Benefits of stored procedures and how to create and execute them
30 Dec 2017 by essentialSQL
SQL set operations
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.
30 Jun 2017 by outcoldman
Schedule a daily backup with SQL Server Express
1 Mar 2017 by Neeraj Kaushik1980
Following are the step by step instructions to enable and use the change tracking feature in SQL Server.
29 Dec 2016 by essentialSQL
Introduction to cross join - create row combinations
29 Dec 2016 by essentialSQL
Uncommon SQL server data types
18 Dec 2016 by Afzaal Ahmad Zeeshan
Overview of SQL Server on Linux
4 Dec 2016 by Manjuke Fernando
It's very important to know what sort of JOINs are available in SQL Server and where exactly we can use them, in order to produce accurate results.
4 Nov 2016 by essentialSQL
Introduction to SQL Server Data Modification statements
19 Oct 2016 by Manjuke Fernando
16 Oct 2016 by Z Kavtaskin
How to create a Custom Key Store Provider for SQL Always Encrypted (Without Key Vault Example PoC)
24 Aug 2016 by Manjuke Fernando
DROP IF EXISTS in SQL Server 2016 (DIE)
14 Jul 2016 by essentialSQL
In this article, we explore non recursive CTEs (Common Table Expressions). This is a broad class, and basically covers every form of CTEs except those that call themselves. This other class is called the recursive CTEs; they are covered in the next article.
12 May 2016 by Sibeesh Passion
Some shortcuts that may be useful to you when you work with SQL Server Management Studio
29 Apr 2016 by Mayur V Lohite
18 Mar 2016 by johnniealan
This article describes about adding progress bar in cell.
3 Mar 2016 by Jameson Triplett
Log4j2.xml Tweaks
16 Feb 2016 by Manjuke Fernando
What is the difference between Index REBUILD and REORGANIZE and when exactly should you use it
5 Feb 2016 by jgauffin
Griffin DAL Generator – Take 2
11 Jan 2016 by essentialSQL
Basic concepts of built-In functions in SQL Server
5 Jan 2016 by essentialSQL
Commonly used SQL Server data types
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
2 Jan 2016 by essentialSQL
Introduction to SQL Server's built-in conversion functions
30 Dec 2015 by Ivan Krivyakov
Christmas Carol: XML Signatures
14 Dec 2015 by Sacha Barber
So last time we looked at how to use Slick to connect to a SQL server database. This time we look at how to use one of the 2 popular Scala testing frameworks.
17 Nov 2015 by Sibeesh Passion
How to load an XML file and show as li using ng-repeat in Angular JS
5 Nov 2015 by Steve Naidamast
How to use Black Falcon software's SQL Server source control for developers
6 Oct 2015 by Mithun Pattankar
Step by step process of installation of SQL Server Express 2014 on Windows 10
26 Apr 2015 by Anton Angelov
Tutorial how to create test cases statistics for the automation status and their distribution by priority. Steps how to setup SSRS and TFS Data Warehose.
16 Feb 2015 by Keyhole Software
XML Manipulation With XML Copy Editor
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.
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
28 Nov 2014 by Afzaal Ahmad Zeeshan
Uploading the files - HTML5 and jQuery way
2 Nov 2014 by Manas Bhardwaj
This post is intended to be used as a hack for developers to release some disk space. Please do not use on actual production environments.
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
22 Oct 2014 by essentialSQL
Introduction to Inner Joins in SQL Server
22 Oct 2014 by essentialSQL
Introduction to Outer Joins in SQL Server
14 Oct 2014 by Bob McGowan
In this final installment, we'll finally see some C# code that I used to read and write the FILESTREAM data.
24 Sep 2014 by Bob McGowan
Utilizing SQL Server FILESTREAM capabilities from .NET
22 Sep 2014 by Bob McGowan
Utilizing SQL Server FILESTREAM capabilities from .NET
21 Sep 2014 by Bob McGowan
Processing SQL Server FILESTREAM Data - Part 1
14 Sep 2014 by derekman9707
Different types of database backups
31 Jan 2014 by Rohitmssqlfun
Data purity issue after upgrading SQL 2000 to later versions
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!
26 Jan 2014 by Arun Ramachandran India
What exactly are UNION and UNION ALL in SQL Server