TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
SQL Server
FOLLOW
Welcome to SQL Server section of C# Corner. In this section, you will find various SQL Server related source code samples, articles, tutorials, and tips.
Articles
(1687)
Blogs
(1306)
Resources
(63)
Videos
(59)
News
(31)
Blogs
Difference Between Stored Procedure and Function in SQL Server
Explore the key differences between stored procedures and functions in SQL Server. Stored procedures are used to execute a series of SQL statements and can perform complex operations, including tra...
Onkar Sharma
Sep 18, 2024
Learn to Fix Security Update for SQL Server RTM GDR
This guide provides step-by-step instructions to troubleshoot and fix common issues during the update process, ensuring your SQL Server remains secure and up-to-date.
Jefferson S. Motta
Sep 17, 2024
Seven Exciting Features in the Next SQL Server Version
The upcoming SQL Server release, expected in 2025, introduces exciting features like enhanced analytics with Azure Synapse integration, S3-compatible object storage, improved availability with cont...
Mamta M
Aug 18, 2024
Finding the Organization Hierarchy using SQL Server
To trace the organizational hierarchy, start by identifying the immediate manager of an employee. Then, sequentially determine each manager's superior until you reach the highest level of the o...
Amar Srivastava
Aug 13, 2024
Remove Special Characters from String in SQL Server
Learn how to remove special characters from strings in SQL Server using T-SQL functions. This guide covers various methods, including using REPLACE, PATINDEX, and user-defined functions, to clean a...
Naveen Kumar
Jul 01, 2024
How to Remove Duplicate Values from SQL Table
Learn efficient SQL methods to remove duplicates from tables using DELETE statements with subqueries and HAVING clauses. Utilize the MAX function and NOT IN operator to streamline database operatio...
U T
Jun 28, 2024
How to Select or Fetch 50% Data from SQL Table
Learn how to efficiently select 50% of data from a SQL table using the 'SELECT TOP 50 PERCENT' query. This SQL technique is crucial for data sampling and optimizing query performance, often...
U T
Jun 28, 2024
How to Fetch Data From SQL with Comma Separated
Learn how to efficiently retrieve data from SQL databases when dealing with comma-separated values. Explore SQL queries and techniques for parsing and extracting data from fields containing comma-s...
U T
Jun 28, 2024
How SQL Server Processes Your Query?
SQL Server efficiently processes SQL queries through parsing, normalization, compilation, and execution. Understanding these intricate stages enhances database performance, crucial for optimizing r...
Ayush Gupta
May 21, 2024
Concurrency in SQL: Balancing Speed and Safety
In database management, concurrency refers to handling multiple transactions simultaneously. SQL Server ensures performance and data integrity through locks, row versioning, and various isolation l...
Ayush Gupta
May 21, 2024
Do Table Variables and Temporal Tables Engage in Transactions?
Explore the transactional behavior of table variables and temporal tables in SQL. Discover how they participate in database transactions.
Naveen Kumar
May 01, 2024
Understanding sp_depends in SQL Server
In this blog, we explore the functionalities of sp_depends, its impending retirement, and the transition to the superior sys.dm_sql_referencing_entities and sys.dm_sql_referenced_entities dynamic m...
Naveen Kumar
Apr 24, 2024
Excel to SQL Server: Exporting Data with SQL Import/Export
Export data from Excel to SQL Server effortlessly using the SQL Import/Export Wizard in SQL Server Management Studio. This tool simplifies the migration process, allowing seamless transfer of data,...
Vikas Gupta
Apr 12, 2024
MS SQL Server Replication or Synchronization Peer-to-Peer Topology
SQL Server database synchronization refers to the process of keeping multiple databases consistent with each other, ensuring that they contain the same data and are up-to-date with changes made on ...
Apiuth Arun
Feb 21, 2024
What is MS SQL Table Partition?
Table partitioning in SQL is a database design technique that involves dividing a large table into smaller, more manageable pieces called partitions. Each partition holds a subset of the table'...
Apiuth Arun
Feb 05, 2024
Select 1 from Table (SQL Server)
"SELECT 1 FROM TABLE" is a simple way to check if there are any rows in the specified MySQL table. It doesn't retrieve any data from the table but rather returns a result set with a s...
Lakshmi V
Feb 03, 2024
How to Check Your Most Resource-Intensive Queries in SQL Server
Faced with persistent SQL Server timeouts due to high CPU usage, I identified resource-intensive queries using a script to analyze the top 10 queries, optimizing and rewriting them for improved eff...
Ng Cheehou
Dec 29, 2023
CASE, WHEN, THEN and ELSE in SQL Server 2022
Core of CASE Statement with its component such as WHEN, THEN & ELSE to create a conditional logic operation in SQL Server
Abiola David
Sep 22, 2023
Features and enhancements in SQL Server 2022
Explore Azure Arc integration, Big Data Clusters, enhanced security, Always Encrypted with Secure Enclaves, and optimized JSON handling for advanced analytics, secure operations, and seamless hybri...
Mohammad Hussain
Aug 10, 2023
T-SQL Techniques CTE, Window Functions, and Stored Procedures
T-SQL Techniques Common table expressions, Window functions, and Stored procedures
Amit Mohanty
Aug 07, 2023
No Records Available.
View More
Learn SSRS In 11 Hours
Challenge yourself
SQL Server
E-Book Download
Get Certified
AWS