Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.

Learn how to efficiently convert large CSV/MCX files, commonly used in financial applications like stock market data processing, into DataTable objects using C#. This article provides a step-by-step guide on filtering data and performing bulk inserts into SQL Server using SqlBulkCopy for optimal performance and maintainability.

Azure Data Studio (ADS) is being retired in favor of Visual Studio Code (VS Code) for SQL development. This article outlines the key benefits of migrating to VS Code, including improved performance, a vast extension marketplace, unified development experience, and long-term support.

Unlock peak SQL Server performance! This guide delivers 30 proven techniques with practical examples to optimize your database. Learn how to speed up slow queries, improve indexing, refine schema design, and implement caching strategies. From data types to execution plans, master the art of SQL Server tuning for scalable and efficient applications. Boost your database performance today!

Learn schema design principles, indexing strategies for query tuning, and efficient ETL processes for data loading. Implement robust backup and recovery plans, secure your database with role-based access control, and proactively monitor performance with maintenance best practices.

Identify the SQL statements and stored procedures that burn the most CPU, IO, and time using SQL Server DMVs—plus quick scripts, filters, and tips to fix them.

Index fragmentation slows SQL Server queries by disrupting data order. This article explains its causes, types, and impact, while offering practical steps to detect, fix, and prevent fragmentation for optimal database performance.

Master SQL Server error handling and transaction management for robust, scalable ERP systems. Learn to use TRY-CATCH, savepoints, nested and distributed transactions to ensure data integrity and optimize performance.

This article explains SQL Server Common Table Expressions (CTEs), covering benefits, performance, best practices, and real-world examples, helping developers simplify complex queries, improve readability, and handle recursive or hierarchical data efficiently.

Mastering Advanced SQL Server Features: A Comprehensive Guide for Developers

Explore SQL Server CLR Integration’s power to bridge .NET and relational databases. Learn best practices, security, and real-world use cases to build scalable, secure, high-performance data-driven applications across diverse industries.

Learn how to delete a row from a table in SQL Server using the DELETE statement. This guide explains the syntax, provides examples of deleting rows by specific conditions, and highlights the difference between DELETE and TRUNCATE. Whether you are removing a single record or multiple rows, this article covers the essential steps and best practices for safe data deletion.

Learn how to back up data from specific tables in SQL Server using simple SQL queries. This article covers methods like SELECT INTO, INSERT INTO, and full database backup commands to help you secure data from individual tables without performing a full database backup.

Client Statistics in SSMS offer insights into SQL query performance from the client side. It helps compare executions, measure network impact, processing time, and optimize queries effectively during development.

Query Store in SQL Server helps monitor query performance over time by storing execution plans, runtime stats, and wait times. It enables troubleshooting, plan forcing, and tracking regressions effectively.

Explore the key differences between CTEs and Temporary Tables in SQL Server — when to use each, how they work, and tips for writing cleaner, faster queries.

This article explores how to ingest data from a table in SalesData database to another table in the Data Warehouse database.

This article explains SQL Server's SESSION_CONTEXT, a session-scoped key-value store introduced in 2016, useful for securely passing metadata like User ID or flags between procedures, triggers, and applications.

This articlee walks you through installing SQL Server 2025 on Windows, from system requirements to setup and configuration. Learn how to enable features, set authentication modes, and ensure your server runs smoothly ideal for beginners and advanced users alike.

Dive deep into the internal execution process of SQL Server queries with this one-of-a-kind article comparing normal SQL queries and stored procedures.

Create the referential integrity constraint i.e. Foreign key dynamically in SQL Server database. This script dynamically adds foreign keys to all tables with a CompanyID column by scanning the database, ensuring they reference the Company table—ideal for retrofitting relational integrity.

SQL numeric functions simplify mathematical operations like rounding, power calculations, and random value generation. Functions like ABS(), CEILING(), FLOOR(), ROUND(), SQRT(), MOD(), and LOG() help with financial calculations, data analysis, and scientific computing.

SQL conversion functions like CAST(), CONVERT(), TRY_CAST(), TRY_CONVERT(), and FORMAT() help change data types, format values, and handle errors efficiently.

SQL string functions help manipulate and process text data efficiently. This guide covers key functions like UPPER(), LOWER(), LEN(), LEFT(), RIGHT(), SUBSTRING(), REPLACE(), CONCAT(), LTRIM(), RTRIM(), CHARINDEX(), REVERSE(), and FORMAT(), demonstrating their usage with examples to improve query performance and readability.

Learn how SQL Server parameter sniffing affects cached execution plans and query performance, with practical fixes including RECOMPILE, OPTIMIZE FOR UNKNOWN, local variables, and conditional logic.

SQL aggregate functions help perform calculations on multiple rows, returning a single result. This article covers COUNT(), SUM(), AVG(), MIN(), MAX(), and advanced uses like GROUP BY, HAVING, CASE, PARTITION BY, and DISTINCT.

This article explores common functions like LEN(), UPPER(), LOWER(), ROUND(), GETDATE(), ABS(), SQRT(), SUBSTRING(), and REPLACE(), along with advanced usage, computations, and custom scalar functions for efficient queries.

An SQL execution plan outlines how a database executes a query, detailing operations like table scans, index seeks, and joins. Analyzing these plans is essential for optimizing query performance.

SQL Server performance issues often stem from easy fix bottle necks that can be fixed with the right tuning strategies. This short blog will focus on the DELETE statement.

Memory-optimized table variables in SQL Server provide a powerful way to enhance query performance by leveraging In-Memory OLTP. Unlike traditional table variables, they reduce disk I/O and improve execution speed.

This article is to discuss SSRS (1) --- Server Setup, SSIS, SSAS, and SSRS
Everything on SQL Server, not only its articles: the SQL Server page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article