Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / Languages / T-SQL

T-SQL

T-SQL

Great Reads

by Marian Placko
This article shows a simple hack of a built-in MS SQL Server WITH ENCRYPTION mechanism
by Snorri Kristjansson
A SQL server CLR Stored Procedure that can query the Active Directory directly in T-SQL code
by hector [.j.] rivas
Helping the combo box autocomplete function with a frequency count.
by mazhou
Ad-hoc pagination support with SQL Server codenamed “Denali”

Latest Articles

by Marian Placko
This article shows a simple hack of a built-in MS SQL Server WITH ENCRYPTION mechanism
by Snorri Kristjansson
A SQL server CLR Stored Procedure that can query the Active Directory directly in T-SQL code
by hector [.j.] rivas
Helping the combo box autocomplete function with a frequency count.
by mazhou
Ad-hoc pagination support with SQL Server codenamed “Denali”

All Articles

Sort by Score

T-SQL 

by mazhou
Ad-hoc pagination support with SQL Server codenamed “Denali”
by Manjuke Fernando
Always encrypted feature in SQL Server 2016
by Manjuke Fernando
Analyzing SQL Server Error Logs / Agent Logs using T-SQL
by PRANAV SINGH
Backing up all databases using T-SQL
by Johan Ohlin
Group concatenation in T-SQL using CTE.
by Johan Ohlin
How to use recursive CTE calls in T-SQL.
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..
by jgauffin
Griffin DAL Generator – Take 2
by gmtzgtz
How to write a LINQ statement with multiple joins
by Raymund Macaalay
Simple TSQL and C# entity generator for S#arp architecture
by Pranay Rana
In this post, I am going to discuss about the special method available in .NET Framework which allows to perform the like operation as we do in the T-SQL when searching data with string.
by mazhou
The SEQUENCE Object in SQL Server codenamed “Denali”
by dibley1973
The stored procedure framework now supports dynamic fields within multiple recordsets
by derekman9707
TRUNCATE or DELETE a Table?
by outcoldman
TSQL: Passing array/list/set to stored procedure (Microsoft SQL Server)
by essentialSQL
In this SQL minute we’ll look at how you can use hierarchyid to query hierarchy data.  This is a two-part article.  In this article we look at how to do one query to get portion of the hierarchy.
by essentialSQL
What is a Database Trigger?
by essentialSQL
Difference between Cast and Convert
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.