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

SQL 

15 Jun 2012 by Rick Bassham
How to use the SqlChangeMonitor with the new MemoryCache class in .NET 4.0.
7 Sep 2019 by Lee P Richardson
This blog post lists 3 days to refactor EF Linq queries without killing Perf
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
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.
21 Jul 2021 by Aram Tchekrekjian
In this tutorial, we will learn how to connect Android with ASP.NET Core Web API.
16 Mar 2015 by Sander Rossel
Getting your feet wet in NoSQL with MongoDB!
23 Mar 2010 by Raymund Macaalay
Here is a good use for SQL OUTER APPLY
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.
5 Apr 2014 by derekman9707
A SQL Cmdlet a Day 2 Piping and Select
19 Oct 2016 by Rion Williams
How to access SQL from Entity Framework Code Queries in ASP.NET core
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.
10 Feb 2014 by Arun Ramachandran India
ADO.NET - What is meant by SQL injection attack?
26 Sep 2014 by derekman9707
This post discusses about variable value assignment in SSIS.
19 Oct 2016 by Manjuke Fernando
20 Feb 2013 by Noor Ahmad Feroozi
An attempt was made to load a program with an incorrect format sqlite
15 May 2020 by Rion Williams
Some recommended readings about streaming systems
6 Jan 2011 by Bikash Shaw
An Introduction to Bitronix JTA Transaction Manager with MySQL
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.
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.
25 Nov 2015 by Manjuke Fernando
Analyzing SQL Server Error Logs / Agent Logs using T-SQL
9 Apr 2021 by Arctype SQL
Explanation of how a query gets execution and understanding the EXPLAIN command
2 Nov 2020 by DotNetLead.com
Angular/.NET Core Web API application that can be used as the starting point for building your applications.
11 Aug 2011 by Pranay Rana
Here I am going to discuss about Any method.
17 Feb 2022 by Aram Tchekrekjian
How to apply JWT Access Tokens and Refresh Tokens in ASP.NET Core Web API 6
2 Dec 2013 by John Atten
Configuring ASP.NET MVC 4 membership with a SQL CE database.
19 Jul 2012 by Tejas Vaishnav
Auto incremented ID using VARCHAR data type
7 Jan 2010 by Steve Wellens
This is one of those tucked-away features in Visual Studio that, once you find it, can make you slap your forehead so hard that it hurts.
17 Jul 2010 by Raymund Macaalay
How to automate Backups on SQL Server Express Version
4 Jun 2011 by Andrew Zwicker
Why OR conditions in join statements should be avoided and an example fix
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
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
16 May 2013 by Sebastian Solnica
In this post, I will show you an interesting problem that we experienced when querying a SQL Server database with Dapper.
3 Dec 2017 by Manjuke Fernando
Behavior of IDENTITY Columns and SEQUENCES with TRANSACTIONS
28 May 2014 by Ben Liebert
Best practice front-end architecture using Microsoft ASP.NET MVC and Rivet.js
30 May 2014 by Ben Liebert
Best practice front-end architecture using Microsoft ASP.NET MVC and Rivets.js
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.
2 May 2022 by PascalLandau
Debugging BigQuery usage
23 Mar 2012 by jqwidgets
How to bind jqxGrid to SQL Database using ASP.NET MVC 3
1 Mar 2018 by essentialSQL
How to build dynamic SQL in a stored procedure
18 Jan 2013 by Paul S. Chapman
How to improve the creation of XML message requests using Reflection, XML and XSLT
25 Oct 2017 by Sam_IN
In this article, I will explain step by step how to create Continuous Build and Release process for SQL Server Scripts for Database. All the steps are self explanatory with relevant screenshots.
26 Oct 2015 by Sacha Barber
Bulk insert into SQL from C#
16 Sep 2011 by kribo
This post aims to demostrate how to load images into a SQLite database and retrieve them for viewing.
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.
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++.
25 Mar 2016 by Sibeesh Passion
How to use caching in Web API
30 Dec 2017 by essentialSQL
There are several ways to calculate a running total in SQL. In this article, we will cover two methods: Joins, and Window Functions.
13 Mar 2019 by essentialSQL
A common question I get ask is whether I can have a CASE Statement in the WHERE Clause.
16 Apr 2015 by Acharya Raja Sekhar
Capture SQL Server queries fired from your application
12 May 2011 by Andrew Zwicker
An example of using a Cartesian [cross] join.
3 May 2010 by Sebastian Solnica
A simple way to implement changelog system for database objects using NHibernate session interceptor and database triggers
7 Sep 2010 by Ernest Poletaev
How to change database schema, add or delete a field or table, be sure that new version of application will work correctly and existing users will not lose their data
18 Nov 2013 by skydger
Checking MS SQL Server database files default paths.
30 Dec 2015 by Ivan Krivyakov
Christmas Carol: XML Signatures
24 Apr 2020 by Kevin Mack
Some areas to focus on for Cloud Security
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
13 Mar 2019 by essentialSQL
Examples of common data types in SQL Server and how to define them
29 May 2018 by Manjuke Fernando
Computed columns in SQL Server
5 Jan 2012 by Dave C Andrews
Count the records in a table which are of a certain type.
25 May 2023 by Illya Reznykov
The post describes how to use token-based authentication to run SQL queries against Azure SQL Database.
30 Jan 2020 by Lee P Richardson
Description of two ways to use LINQPad with ABP apps to solve performance problems
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.
1 Nov 2016 by Graham D Smith
Commissioning TFS or VSTS
12 Mar 2015 by Graham D Smith
Continuous Delivery with VSO: Configuring the Basics
21 Dec 2011 by Tom Janssens
Functional programming = SQL Select statement
12 Aug 2010 by Raymund Macaalay
How to convert / Parse Delimited string column in SQL to Rows
10 Aug 2010 by User 6619207
How to copy a table using SQL Server Management Objects
7 Mar 2022 by essentialSQL
Comparison of a correlated sub query to a join
17 Feb 2013 by Tharaka MTR
How to count consecutive dates using SQL
6 Nov 2012 by Manjuke Fernando
Create a Cursor using dynamic SQL query.
13 Mar 2019 by essentialSQL
In this episode of SQL Minute I want to share with you how to create a pivot or cross tab chart.
2 Jul 2021 by Kevin Chadney
Creating a simple SSMS extension which accesses the query window and object browser.
28 Nov 2011 by gmtzgtz
How to create and execute dynamic SQL on T-SQL.
22 Jan 2012 by Gediminas Geigalas
Creating .In and .NotIn Extension methods for NHibernate 3 Linq provider
29 Dec 2016 by essentialSQL
Introduction to cross join - create row combinations
10 Apr 2012 by Cale Dunlap
Example of using code-based query generation, transposition, cross-tabulation, and normalized data to produce a query result that can feed a simple chart from data which was not originally designed with reporting or charting in mind.
30 Aug 2011 by JasonDove
The basis of this solution is to control which fields are grouped on within the report, this will in turn change the summary operations and change the entire context of the report. This is done using Crystal Reports built-in Parameters in a way often overlooked by developers.
29 Feb 2016 by Sibeesh Passion
How to create a custom deferred grid in MVC using Web API and Angular JS
30 Dec 2017 by essentialSQL
How to do some basic data modeling
24 Jul 2021 by Arctype SQL
As a business expands, the need to ethically leverage data is not a luxury anymore, but a necessity.
13 Jun 2011 by Andrew Zwicker
A continuation of the data dictionary discussion with information about how the documentation is done
14 Aug 2019 by essentialSQL
Database indexes explained
10 Jun 2011 by Andrew Zwicker
Why table and column documentation is useful and some SQL for setting up the data dictionary tables
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.
12 Apr 2020 by Jeremy Likness
Some ah-hah moments about Kusto
18 Jan 2016 by Camilo Reyes
Demystify LocalDB in ASP.NET with sqlcmd
31 Mar 2021 by Arctype SQL
Easily deploy PostgreSQL pod in Kubernetes
1 Dec 2022 by DotNetLead.com
Deploy existing ASP.NET Core UI, API, and SQL Server to Docker containers
7 Oct 2017 by Brady Kelly
Making F5 execute your query
21 May 2013 by Basavaraj P Biradar
Difference between SET QUOTED_IDENTIFIERS ON and OFF settings.
17 Nov 2010 by Vivek Johari
Basic information about the different ways of creating a table
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
12 Apr 2012 by Sadeque Sharif
Easily trace all errors of Stored Procedures in MS SQL Server.