Click here to Skip to main content
15,886,032 members
Everything / Programming Languages / SQL

SQL

SQL

Great Reads

by Alex Pumpet
A simple program for comparing table data from two sources - SQL databases, Excel, CSV or XML-files
by Thomas Weller
Demonstrates how to run Python scripts from C#
by Mubin M. Shaikh
Create time dimension with 24 hour plus values and time buckets in your data warehouse
by Christoph Buenger
Describes PHP application development with the free Scavix Web Development Framework (Scavix-WDF).

Latest Articles

by Mishael Ogo
A look at a simple SQL builder for Dapper
by GabrieleTronchin
In this project, I've implemented the Transactional Outbox Pattern using EF Core.
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

All Articles

Sort by Score

SQL 

9 Nov 2015 by Sander Rossel
Using Venn diagrams to visualize sets.
19 Apr 2016 by Dave Kerr
If you are looking to get your hands dirty and learn all about Docker, then look no further!
16 Oct 2017 by Nikola M. Živković
Introduction to NoSQL and Polyglot Persistence
5 Aug 2011 by Manjuke Fernando
This post will show you how to insert data using SQL views created using multiple tables.
10 Apr 2018 by Gaston Verelst
Why you would use Common Table Expressions
26 May 2013 by Tharaka MTR
This post will show you how to fix orphaned SQL users.
22 Oct 2014 by essentialSQL
Database normalization in SQL explained in simple English
9 Oct 2014 by Suvendu Shekhar Giri
Sort the result set as per your need
29 Dec 2016 by essentialSQL
Introduction to cross join - create row combinations
30 Dec 2017 by essentialSQL
How to join dirty data using SQL Server
1 Dec 2022 by DotNetLead.com
Deploy existing ASP.NET Core UI, API, and SQL Server to Docker containers
22 Dec 2019 by Rion Williams
Bug stories: Exposition, action, climax, resolution, or epic failures.
27 Jun 2009 by Anton Burtsev
The article shows how one can use Microsoft SQL Server to generate millions of guids in seconds.
16 May 2010 by Raymund Macaalay
Restricting Access to Database by Application Name and/or Host Name in SQL Server
3 Nov 2014 by essentialSQL
Database Third Normal Form explained in simple English
22 Oct 2014 by essentialSQL
Introduction to database joins in SQL
15 Feb 2015 by Ronnie Mukherjee
SQL Unit testing
4 Jun 2015 by Anton Angelov
Tutorial on how to set up an email subscription for reports generated in SSRS (SQL Server Reporting Services). Step by step explanations with a lot of images.
19 Jan 2016 by essentialSQL
How to Write SQL – Understand Database Table Meanings and Relationships – Step 1
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.
30 Dec 2017 by essentialSQL
How to do some basic data modeling
14 Aug 2019 by essentialSQL
In this blog post, you will learn about stored procedures
4 Feb 2020 by OwenDavies
This post outlines how to use Docker image for local SQL Server development.
3 May 2013 by Shahriar Iqbal Chowdhury/Galib
Solution to the MSSQL Server “Suspect”
27 May 2013 by Tharaka MTR
Generate insert statements from a specific table data using SQL Server
2 Dec 2013 by John Atten
Configuring ASP.NET MVC 4 membership with a SQL CE database.
19 Jul 2014 by Tim Golisch
The Master database often seems to be the "Lost & Found" bin of the SQL Server world. There are two popular ways for preventing this kind of problem. Read on...
21 Oct 2014 by essentialSQL
Database Second Normal Form explained in simple English
22 Oct 2014 by essentialSQL
Introduction to Outer Joins in SQL Server
22 Oct 2014 by essentialSQL
Introduction to Inner Joins in SQL Server
17 Jan 2015 by Ivan Korhner
Postgresql: PostgreSQL Query Tuning - Indices
18 Mar 2016 by johnniealan
This article describes about adding progress bar in cell.
18 Apr 2018 by Sarmaad Amin
Often a service is required to connect to a database to perform some operations. In this post, we are going to look at having an Azure Function connect and insert a record in database table. We will showcase the usage on nuget packages and usage in Azure Function to automate package management.
11 Aug 2017 by Jeremy Hutchinson
Azure SQL vs AWS RDS - performance and cost
30 Dec 2017 by essentialSQL
In this puzzle, we’re going to learn how to rewrite a subquery using inner joins.
13 Mar 2019 by essentialSQL
In this guide, I’ll show you how to get started using Power BI.  We’ll then get some sample data and use it to build a simple project.
21 Jul 2020 by Jeremy Likness
Learn how to parse complex expression trees, and even modify them to alter IQueryable results.
2 Mar 2023 by Lee P Richardson
Deploy EF database migrations while avoiding security flags
25 Sep 2009 by Charles Boyung
How to program for date ranges
15 Mar 2010 by Mahmudul Haque Azad
A simple trick to add to custom node to the XML commenting.in GhostDoc
29 Jul 2010 by User 6619207
About SQL Server Management Objects
7 Sep 2011 by Eric Xue (brokensnow)
Extracting the entire UserProfile AD user details into a CSV file
17 Feb 2013 by Tharaka MTR
How to count consecutive dates using SQL
10 Feb 2014 by Arun Ramachandran India
ADO.NET - What is meant by SQL injection attack?
22 Oct 2014 by essentialSQL
How to combine table rows using UNION in SQL Server
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.
17 Nov 2015 by Sibeesh Passion
How to load an XML file and show as li using ng-repeat in Angular JS
19 Oct 2016 by Manjuke Fernando
13 Mar 2019 by essentialSQL
A common question I get ask is whether I can have a CASE Statement in the WHERE Clause.
2 Nov 2019 by Ghanshyam N Patel
How to shrink SQL Server database log file
30 Jan 2020 by Lee P Richardson
Description of two ways to use LINQPad with ABP apps to solve performance problems
7 Mar 2022 by essentialSQL
In this blog entry we do an overview of the order if execution in SQL.
7 Sep 2019 by Lee P Richardson
This blog post lists 3 days to refactor EF Linq queries without killing Perf
23 Mar 2010 by Raymund Macaalay
How to execute stored procedure in parallel
23 Aug 2010 by Raymund Macaalay
Repairing Suspect SQL Database
13 Mar 2011 by Kristofer Kallsbo
Updating several rows using LINQ to SQL.
15 Jul 2011 by rusanu
A technique to make tables with columnstore indexes updateable
28 Jul 2011 by Manjuke Fernando
Using Update Cursors in SQL Server
7 Sep 2011 by Eric Xue (brokensnow)
Missing Server side dependencies - Problems and Solutions
13 Sep 2011 by Raymund Macaalay
Singularize Function in TSQL
22 Jan 2012 by Gediminas Geigalas
Creating .In and .NotIn Extension methods for NHibernate 3 Linq provider
24 Jan 2012 by atverma
Utility to Generate Word Documents from Templates Using Visual Studio 2010 and Open XML 2.0 SDK - Part 4
29 Jan 2012 by Kunal Chowdhury «IN»
Join Hint in SQL - Guest post by Joydeep Das
22 Nov 2012 by Sebastian Solnica
NLog LayoutRenderer for Assembly Version
20 Jun 2013 by Bryan O'Connell
Using LINQ to SQL for ETL projects.
6 Aug 2013 by Shahriar Iqbal Chowdhury/Galib
A custom function that will hunt down HTML tags and remove them
28 May 2014 by Ben Liebert
Best practice front-end architecture using Microsoft ASP.NET MVC and Rivet.js
23 Oct 2014 by essentialSQL
Simplified Data Modeling in SQL
23 Oct 2014 by essentialSQL
How to Group and Summarize your Results in SQL
23 Oct 2014 by essentialSQL
Query Results Using Pattern Matching in SQL
24 Oct 2014 by essentialSQL
How to sort your query results in SQL Server
29 Oct 2014 by essentialSQL
Grouping results returned from your queries using the GROUP BY clause
19 Mar 2015 by JammoD87
Using Dynamic SQL to create a Pivot Table
4 Jan 2016 by essentialSQL
How to find duplicate values in SQL Server
25 Feb 2016 by Sibeesh Passion
In this article, we will learn how we can work with jQuery Datatables with server side data.
12 Feb 2017 by essentialSQL
In this article, well explore how to use the MERGE statement. We discuss some best practices, limitations, and wrap-up with several examples.
13 Mar 2017 by Melick
Insufficient SQL Database Permissions for User 'Name: doman\SP_UserProfiles SID:
25 Mar 2017 by essentialSQL
How to identify the top and bottom 25 percent to rank student scores
30 Dec 2017 by essentialSQL
How to write a SQL UNION without using Set operations
30 Dec 2017 by essentialSQL
Joins versus subqueries in SQL
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.
3 Feb 2018 by Alvin Bunk
How to troubleshoot SQL code using comments
13 Mar 2019 by essentialSQL
In this lesson, we’re going to learn about the While Loop. So, what is a While Loop? Well, While Loop is set up using a While statement. While statements are used to repeatedly execute a block of SQL statements.
26 Apr 2019 by essentialSQL
SQL Server Hierarchical Query using the hierarchyid type
5 Nov 2019 by Kevin Mack
Hello all, It’s been a while since I did a blog post outside of the weekly updates. But I wanted to do one in terms of conversations that I’ve been having a lot lately and seems to be largely universal. High Availability.
12 Mar 2020 by Kevin Mack
What kinds of things should I avoid, or remove from my applications to improve my position moving forward
7 Dec 2020 by Jin Vincent Necesario
This article shows you the basics of SQL Schema using the DDL statements.
24 Mar 2021 by Arctype SQL
Using pg_notify in Postgres alongside the NOTIFY and LISTEN syntax is all that's needed to build a real time updating dashboard
2 Jul 2021 by Kevin Chadney
Creating a simple SSMS extension which accesses the query window and object browser.
21 Jul 2021 by Aram Tchekrekjian
In this tutorial, we will learn how to connect Android with ASP.NET Core Web API.
7 Mar 2022 by essentialSQL
Learn about a database cursor with an example and when to use it in a SP
7 Mar 2022 by essentialSQL
In this video and the following article, we’ll take you step-by-step through the process of changing a query’s filter criteria into a SQL variable, then ultimately into a stored procedure.
23 Dec 2009 by Bryan Thomas Weikel
CodeProject"LEK" is a three-tier .NET WinForms accounting application that can be configured at run time to use either LINQ to SQL, Entity Framework or NHibernate to access data in either a "main" or "testing" SQL Server database.
7 Jan 2010 by Steve Wellens
In an earlier post here, I wrote two functions to Serialize and Deserialize objects to XML strings. Since then, while reading a book about XML, I learned of even more power in the .NET XML Serialization libraries*...
1 Nov 2010 by Martin Jarvis
Cleaning up after the database tuning engine advisor in SQL
16 Nov 2010 by mazhou
Ad-hoc pagination support with SQL Server codenamed “Denali”
28 Feb 2011 by ozkary
HTML5 Web Database and Mobile Web Applications
29 May 2011 by Andrew Zwicker
A discussion of how views give a more denormalized means for querying against normalized tables.