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

SQL 

7 Aug 2023 by zidane168
Use SQL triggers to keep track of the changes made to your data
25 May 2023 by Illya Reznykov
The post describes how to use token-based authentication to run SQL queries against Azure SQL Database.
7 May 2023 by ToughDev
How to fix ‘Search fields undefined’ error when generating source code for a Scriptcase gridview
2 Mar 2023 by Lee P Richardson
Deploy EF database migrations while avoiding security flags
1 Dec 2022 by DotNetLead.com
Deploy existing ASP.NET Core UI, API, and SQL Server to Docker containers
2 May 2022 by PascalLandau
Debugging BigQuery usage
7 Mar 2022 by essentialSQL
Puzzle to teach joins vs subqueries in SQL
7 Mar 2022 by essentialSQL
Learn about implicit data conversion and explicit type conversions with CAST AND CONVERT
7 Mar 2022 by essentialSQL
Comparison of a correlated sub query to a join
7 Mar 2022 by essentialSQL
How to rewrite a subquery as a join
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
Puzzle to explore a SQL BOM example
7 Mar 2022 by essentialSQL
How to use SQL GROUP BY Clause is to consolidate like values into a single row
7 Mar 2022 by essentialSQL
In this blog entry we discuss the difference between left join versus right join operators.
7 Mar 2022 by essentialSQL
The purpose of this article is to introduce you to SQL window functions and some of the high-level concepts.
7 Mar 2022 by essentialSQL
In this article we’re going to cover the seven data types you’ll most frequently encounter in your everyday use of SQL.
7 Mar 2022 by essentialSQL
In this article we’ve collected all the essential information about writing SQL queries into one ultimate guide to help you gain and practice this knowledge more effectively.
7 Mar 2022 by essentialSQL
In this blog entry we do an overview of the order if execution in SQL.
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.
7 Mar 2022 by essentialSQL
In this blog entry we do an overview of the SQL DATEDIFF function
7 Mar 2022 by essentialSQL
Top five performance tips for Stored Procedures
6 Mar 2022 by essentialSQL
In this article we look at SQL FULL JOIN examples and make a few notes of things to look for.
6 Mar 2022 by essentialSQL
Sooner or later, you want to know when a column contains in SQL another value.  In this article we’ll go over several ways you can test to see whether one value is contained within an another.
4 Mar 2022 by essentialSQL
Use STRING_SPLIT() to join two tables
17 Feb 2022 by Aram Tchekrekjian
How to apply JWT Access Tokens and Refresh Tokens in ASP.NET Core Web API 6
1 Dec 2021 by Arctype SQL
In this article, you'll learn about Postgres UUIDs and how to generate them with examples from two different modules.
19 Nov 2021 by Arctype SQL
Learn how to write a MySQL cursor or a MySQL loop
24 Jul 2021 by Arctype SQL
As a business expands, the need to ethically leverage data is not a luxury anymore, but a necessity.
21 Jul 2021 by Aram Tchekrekjian
In this tutorial, we will learn how to connect Android with ASP.NET Core Web API.
2 Jul 2021 by Kevin Chadney
Creating a simple SSMS extension which accesses the query window and object browser.
22 Apr 2021 by Arctype SQL
Write your query in a way to overcome the limitations of NULL rather than avoid using it.
22 Apr 2021 by Arctype SQL
Simple examples of collaborative filtering with fundamental logic behind all of these systems boiling down to same principles used here
9 Apr 2021 by Arctype SQL
Explanation of how a query gets execution and understanding the EXPLAIN command
31 Mar 2021 by Arctype SQL
Easily deploy PostgreSQL pod in Kubernetes
24 Mar 2021 by Arctype SQL
When solving a problem that requires you to link a user's session data to their actual user object, Postgres comes in handy.
24 Mar 2021 by Arctype SQL
Universally Unique IDs (UUIDs) use random numbers to create unique IDs. UUIDs use more storage, but they provide a good solution for distributed databases and security.
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
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 Nov 2020 by DotNetLead.com
Angular/.NET Core Web API application that can be used as the starting point for building your applications.
21 Jul 2020 by Jeremy Likness
Learn how to parse complex expression trees, and even modify them to alter IQueryable results.
16 Jul 2020 by Kevin Mack
When storing data in Azure blob storage, the process of upload a blob is fairly straight forward, and all it takes is setting the access tier to “Archive” to move data to blob storage.
1 Jun 2020 by gmtzgtz
How to write a LINQ statement with multiple joins
25 May 2020 by John Bandela
C++20 provides us with improved compile time features that can allow us to get a working SQL query into C++.
15 May 2020 by Rion Williams
Some recommended readings about streaming systems
3 May 2020 by Kevin Mack
A few disk queries for log analytics
24 Apr 2020 by Kevin Mack
Some areas to focus on for Cloud Security
14 Apr 2020 by Kevin Mack
Cost projections and figuring out gross margin in cloud computing
12 Apr 2020 by Jeremy Likness
Some ah-hah moments about Kusto
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 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.
27 Feb 2020 by Kevin Mack
A blog about availability in the cloud and how to build applications that are architected for resiliency.
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.
30 Jan 2020 by Lee P Richardson
Description of two ways to use LINQPad with ABP apps to solve performance problems
7 Jan 2020 by Rion Williams
Troubleshooting SQL performance: identifying issues, optimizing queries, utilizing tools efficiently
2 Jan 2020 by Petru Faurescu
Best way, performance wise, to paginate results in MongoDB
29 Dec 2019 by essentialSQL
How to select top rows within a query
29 Dec 2019 by essentialSQL
How to identify the top and bottom 25 percent to rank student scores
29 Dec 2019 by essentialSQL
In this puzzle, we’re going to learn how to calculate moving averages by working through a hypothetical stock market example. Solving puzzles is a great way to learn SQL.  Nothing beats practicing what you’ve learned.
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 Dec 2019 by Kevin Mack
Hello all, in keeping with the last post on the blog, I started doing some posts around High Availability, so ultimately the focus here is how do I architect my solution to ensure that is meets the availability demands of my customers.
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.
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
This article describes a simple and elegant way to allow write access to ASP.NET apps to the App_Data folder. This is required for applications to work properly when deployed in AWS Beanstalk.. The post Granting write access to ASP.
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..
7 Sep 2019 by Lee P Richardson
This blog post lists 3 days to refactor EF Linq queries without killing Perf
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
SQLite3 is a compact free database you can use easily to create and use a database. Learn more about it in this blog post.
14 Aug 2019 by essentialSQL
What is a database table?
14 Aug 2019 by essentialSQL
This post discusses the major parts of a SQL database
14 Aug 2019 by essentialSQL
SQL ACID explained
14 Aug 2019 by essentialSQL
Database indexes explained
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
23 Jun 2019 by Vlad Neculai Vizitiu
3 May 2019 by Rion Williams
In my previous post, I discussed the use of TransactionScope within C# and how it might simplify how transactions are managed within your applications.
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
An answer to fix an error converting data type from varchar to float
13 Mar 2019 by essentialSQL
Examples of common data types in SQL Server and how to define them
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.
13 Mar 2019 by essentialSQL
I recently put together a lesson on  table aliases and multi-table joins.  It is part of my Join Together Now course.  Click here get the course at a discount.
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.