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
(1689)
Blogs
(1306)
Resources
(63)
Videos
(59)
News
(31)
Articles
Backing Up And Restoring Database Without Using .bak File
Learn to backup and restore databases in SQL Server without .bak files using SQL scripts or tools like SSMS. Utilize Transact-SQL commands or export/import data to ensure data integrity and continu...
Salman Beg
Jan 30, 2019
Best Practices For Effective Database Design In SQL Server
In this article, we will be exploring the best practices for effective database design in SQL Server. Creating an SQL Server database involves best practices like understanding requirements, normal...
Rinki
May 28, 2024
Entity and Entity Relationships in DBMS
An Entity-Relationship (ER) model visually represents data and relationships in a business domain, aiding database design. It simplifies understanding of complex databases and enhances communicatio...
Ayush Gupta
May 21, 2024
Difference Between Primary key and Unique key in SQL
The difference between Primary Key and Unique Key in SQL lies in their fundamental roles within a database schema. A Primary Key uniquely identifies each record in a table and ensures data integrit...
Jaimin Shethiya
May 21, 2024
LAG and LEAD Functions in SQL Server
In this article, you will explore the LAG and LEAD functions in SQL Server, powerful tools for accessing data in previous or subsequent rows within a result set.
Rakesh Kalluri
Jul 29, 2015
Automatic Tuning Enhances SQL Server Database Performance
Automatic Tuning in SQL Server combines various intelligent features and techniques to continuously monitor, analyze, and optimize database performance and reduce management overhead. In this artic...
Naveen Kumar
May 20, 2024
Understanding ACID: The Foundation of Database Transactions
In the domain of database management, ACID (Atomicity, Consistency, Isolation, Durability) principles assure transaction reliability. This article delves into ACID's history, necessity, evoluti...
Ayush Gupta
May 17, 2024
Unique Key in SQL: Syntax, Usages, and Example
Unique Key in SQL ensures each record in a database table is distinct. Syntax involves defining columns with UNIQUE constraints. It prevents duplicate values, enhancing data integrity and search ef...
Jaimin Shethiya
May 16, 2024
De-Normalization in SQL: Enhancing Database Performance
De-normalization in SQL, born from the limitations of normalization, optimizes database performance by strategically reintroducing redundancy. Balancing performance gains with data integrity remain...
Ayush Gupta
May 16, 2024
Primary Key in SQL: Syntax, Usages, and Example
A primary key in SQL uniquely identifies each record in a database table. It ensures data integrity and efficient data retrieval. Defined using the CREATE TABLE or ALTER TABLE commands, a primary k...
Jaimin Shethiya
May 14, 2024
SQL Locks for Data Integrity in Concurrent Environments
Understanding SQL Locks: Ensuring Data Integrity in Concurrent Environments
Ayush Gupta
May 14, 2024
SQL Concurrency: Maintaining Data Integrity in Concurrent Environments
Concurrency in databases enables multiple users or processes to access and modify data concurrently, enhancing performance. SQL concurrency ensures data consistency and integrity through locking me...
Ayush Gupta
May 14, 2024
Difference between SQL and T-SQL
In the realm of relational database management systems (RDBMS), SQL (Structured Query Language) and T-SQL (Transact-SQL) are often used interchangeably. In this article, we'll delve into the ke...
Jitendra Mesavaniya
May 09, 2024
Index in SQL Server
Indexes in SQL Server enhance database performance by optimizing data retrieval. They come in various types like clustered, non-clustered, unique, and filtered, catering to different query needs an...
Pankaj Kumar Choudhary
Mar 29, 2015
Column Values Reverse Order in SQL
Learn how to reverse the order of column values in SQL using the ORDER BY clause with the DESC keyword. This tutorial covers sorting data in descending order, manipulating column values, and enhanc...
Suraj Vishwakarma
May 08, 2024
Convert Rows to CSV & Eliminate Duplicates in SQL Server
Using SQL Server's string aggregate function, efficiently transform row data into a comma-separated format, while simultaneously removing any duplicate entries, ensuring data integrity and opti...
Naveen Kumar
May 06, 2024
How to Create Encrypted Stored Procedure
Creating encrypted stored procedures in SQL Server involves using the "WITH ENCRYPTION" clause within the "CREATE PROCEDURE" statement. This secures the procedure's source c...
Gaurav Malviya
Jan 13, 2014
Customize Menu and Toolbar in SQL Server 2012
Customizing menus and toolbars in SQL Server 2012, via SQL Server Management Studio, involves modifying shortcuts, adding or removing commands, and rearranging options to streamline workflow. This ...
Rohatash Kumar
Aug 30, 2012
Execute Multiple SQL Files On Single Go in SQL Server
Are you utilizing SQL Server? Are deployments still handled manually by certain teams or DBAs? Is there no intention to incorporate CI/CD tools due to project or budget limitations. Nonetheless, th...
Naveen Kumar
May 03, 2024
Creating Calendar in SQL Server
In the below example I have created a simple calendar using sql server and its predefined functions. This SQL script demonstrates creating a simple calendar using SQL Server's temporary tables ...
Suraj Vishwakarma
May 02, 2024
No Records Available.
121
-
140
of
1689
<<
5
6
7
8
9
>>
Learn SSRS In 11 Hours
Challenge yourself
SQL Server
E-Book Download
Get Certified
Java Developer