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)
Articles
Database Mail Configuration in SQL Server 2008
Learn how to configure Database Mail in SQL Server 2008 with this guide. Discover step-by-step instructions for setting up email profiles, configuring SMTP settings, and managing mail settings usin...
Suthish Nair
Sep 14, 2011
What are Temporary Tables in SQL Server?
Temporary tables in SQL Server, stored in tempdb, assist with short-term data management. They come in Local (scope limited to current connection, prefixed with "#") and Global (accessibl...
Vishal Nayan
Apr 29, 2011
Database Mail in SQL Server 2008R2
Database Mail in SQL Server 2008 R2 enables sending emails directly from SQL Server using SMTP. It supports job alerts, query results, and file attachments, ensuring consistent, scalable, and secur...
Om Agarwal
Jul 25, 2013
Configure SQL Server Database Mail for Sending Emails
This guide covers the step-by-step process for setting up Database Mail, including creating and managing mail accounts, profiles, and ensuring your SQL Server can successfully send email notificati...
Jignesh Raval
Oct 19, 2015
Introduction to SQL Server & Its History
Learn how to create, manage, and query databases using SQL Server, with a focus on essential concepts like database design, data storage, and SQL queries. Perfect for beginners aiming to build a st...
Nidhi Kumari
Sep 02, 2024
Learn Database Mail in SQL Server
Database Mail in SQL Server is a robust feature that enables sending emails via an SMTP server without relying on MAPI clients like Outlook. It offers secure SSL encryption, asynchronous processing...
Siddhesh Chavan
Aug 29, 2024
Understanding SQL Triggers: A Practical Guide with a New Example
Discover how triggers can automate tasks, enforce business rules, and maintain data integrity in your database. Perfect for both beginners and experienced developers looking to deepen their SQL ski...
Gowtham Cp
Aug 28, 2024
Mastering Pivot Tables in SQL
Learn to efficiently aggregate, summarize, and transform data using advanced SQL queries. Discover techniques for data analysis, reporting, and visualization to enhance your analytical skills.
Ajay Kumar
Aug 28, 2024
Understanding IN vs EXISTS in SQL
Explore the differences between the IN and EXISTS operators in SQL. Learn how each operator affects query performance, and understand their use cases in filtering and retrieving data. This guide pr...
Ajay Kumar
Aug 22, 2024
Learn to Shrink a Microsoft SQL Server Database Programatically
Shrinking a SQL Server database reduces file size by reclaiming unused space in data and log files. This can optimize disk usage, especially in storage-constrained environments. However, it can cau...
Jefferson S. Motta
Aug 20, 2024
Recursive CTE: Simplifying Complex Queries with SQL
Recursive CTEs in SQL simplify querying hierarchical or recursive data by breaking down queries into anchor and recursive members. They are ideal for traversing structures like organizational chart...
Ajay Kumar
Aug 16, 2024
SQL Server on Azure VMs vs Managed Instance vs SQL Database
Based on the type of the cloud service each Relational azure service use and different aspects formulated the differences and uses cases when to use each database solution.
Sravya
Aug 12, 2024
Difference Between Primary Key and Unique Key in SQL
Primary Key and Unique Key are essential in relational databases for data integrity. A Primary Key uniquely identifies each row and cannot be NULL, while a Unique Key ensures column values are uniq...
Vijay Yadav
Aug 12, 2024
Detailed explanation of SQL Server Triggers and its Advantages
SQL Server triggers are automated stored procedures that execute in response to specific database events such as INSERT, UPDATE, or DELETE (DML) and CREATE, ALTER, or DROP (DDL). They enforce busin...
Sanjay Kumar
Aug 06, 2024
Difference between Temp Table and Table Variable
This article will discuss Difference between Temp Table and Table Variable
George
Aug 01, 2024
T-SQL Script for Purging Tables with Foreign Key References
This article provides a comprehensive T-SQL script for purging tables in SQL Server, including those with foreign key references, ensuring data integrity and correct order of operations. Ideal for ...
Naveen Kumar
Aug 02, 2024
Table(s): Temp Table, Table Variable and CTE (Common Table Expression)
This article will discuss SQL Table like items, including temp table, table variable, CTE, Table-valued Parameters.
George
Dec 26, 2023
Table As Input Parameters For Stored Procedure
This article will discuss the StoredProcedure Parameter: DataTable.
George
Feb 21, 2022
Count(*) vs Count(1) in SQL
When counting rows in SQL databases, both `COUNT(*)` and `COUNT(1)` are used, but there is no performance difference between them. Modern databases optimize both functions similarly. Prioritize cod...
Priya Chavadiya
Aug 01, 2024
@@ROWCOUNT in SQL Server
@@ROWCOUNT is a SQL Server function used to retrieve the number of rows affected by the last executed statement. It provides valuable insights for data manipulation and validation processes, helpin...
Sreenath Kappoor
Jul 25, 2024
No Records Available.
41
-
60
of
1687
<<
1
2
3
4
5
>>
Learn SSRS In 11 Hours
Challenge yourself
SQL Server
E-Book Download
Get Certified
Microsoft Azure