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.
In this article, you will see how to use a Static Cursor in SQL Server.

Today, we will learn how to find a Primary Key, Unique Key, or a Foreign Keys in a table using SQL and how to delete a primary key, unique key, or a foreign key from a table using SQL.

In this article, you will learn how to prevent SQL Injection.

In SQL Server, we usually come across queries, tables, views, stored procedures and functions. People often wonder what are the real differences between User Defined Functions (UDF) or simply functions and stored procedures or just procedures. There are two types of functions: Built-in and user defined. Built-in functions cannot be modified where as you can create and modify your own UDF. To utilize the full advantage of these features, we should understand their capabilities and what we can do with them and what we cannot. I am going to explain this in terms of SQL Server.

In this article we are going to see what Data Flow Transformations in SSIS are and the list of controls that are provided in the data flow transformations followed by a series about each control including their usage.

In this article, we’ll learn to give READ and WRITE permission to user after creating their login in SQL Server.

Grant SQL statement grants permissions on an object to a user. Revoke removes permissions on an object. In this article, learn about Grant and Revoke in SQL Server.

In this article we will learn about SELECT statements in SQL Server.

How do you get the data from the table? How do you create or drop the table? How do you display the different records? Do you want to? You can easily do all of this by writing a simple SQL query.

Simplify complex joins and subqueries using SQL Server Common Table Expressions or CTEs. It also provides a way to query hierarchical data. This article provides a complete overview of CTEs, types of CTEs, benefits, drawbacks, and how to use them with SQL Server.

Do you wonder the difference between nvarchar vs varchar? This article discusses the differences between CHAR, VARCHAR, NCHAR and NVARCHAR data types. CHAR vs VARCHAR, NCHAR vs NVARCHAR, difference between char and varchar, difference between nchar and nvarchar.

In this article, you will learn about 50 Important Queries in SQL Server. EXEC sp_helpdb, exec sp_helptext, EXEC sp_updatestats, EXEC sp_MSforeachtable, SQL query for version name of SQL Server, Enable a SQL Trigger, Disable a SQL Trigger, EXEC sp_recompile, sql query for First Date of Current Month, Swap two column values in SQL, Remove all stored procedures, Remove all views from database, Drop all tables.

This article helps you to create a stored procedure in SQL Server and learn how to use a stored procedure in an ASP.NET application.

Know the SQL server maintenance plan best practices with scripts & without scripts. This guide has the best SQL server maintenance solution in simple tasks for users.

We will learn how to Format Date and Time in SQL Server Using FORMAT Function.

Learn to migrate SQL server to new server without errors. This guide has the best four solutions to migrate SQL server database to another server smartly.

Trying to reconnect Log File to MDF File? Read and try the method given in the article.

If you want to reset SA password in SQL Server, simply read this blog as we have mentioned simple manual method to reset forgotten System Administrator password.

In this article, we have mentioned few points to Bring Database Online from Suspect Mode in SQL Server.

Searching a string in all the tables available in the SQL Server database

In this article, you will learn about T-SQL - Pivoting And Unpivoting data.

In this article, you will learn about Derived Tables Vs Common Table Expressions.

In this article, you will learn how to restore SQL Server Database Backup using two methods.

In this article, you will learn how to rename database objects in SQL Server.

This article will discuss the ways to get ConnectionString from different sources.

In this article, you will learn about ORM vs Stored Procedures in Programming.

In this article, I collected interview questions on data types. I participated in many interview calls and I was asked about (sometimes I asked the interviewee) many times the below interview questions .

In this article, you will learn about Identity vs NewSequentialId vs NewId.
Everything on SQL Server, not only its articles: the SQL Server page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article