SQL

How To Create Auto Increment Field Using Query In SQL

In this article, we will learn how to create an auto-increment field/column using a query in SQL. The IDENTITY keyword…

5 years ago

How To Create Index Using Query In SQL

In this article, we will learn how to create and delete Indexes in SQL. To create indexes in tables, the…

5 years ago

How To Add Column With Default Value In SQL

In this article, we will learn how to add a column with default value using the DEFAULT constraint in SQL. To…

5 years ago

How To Use CHECK Constraint In SQL

In this article, we will learn how to use the CHECK constraint in SQL. To limit the value range that…

5 years ago

How To Use FOREIGN KEY Constraint In SQL

In this article, we will learn how to use the Foreign Key constraint in SQL. A FOREIGN KEY is a…

5 years ago

How To Use PRIMARY KEY Constraint In SQL

In this article, we will learn how to use the Primary Key constraint in SQL. The PRIMARY KEY constraint is…

5 years ago

How To Use UNIQUE Constraint In SQL

In this article, we will learn how to use the UNIQUE constraint in SQL. The UNIQUE constraint is used to…

5 years ago

How To Use NOT NULL Constraint In SQL

In this article, we will learn how to use the NOT NULL constraint in SQL. A column can hold NULL…

5 years ago

How To Alter Table Using Query In SQL

In this article, we will learn how to use the ALTER TABLE statement in SQL. To add or delete or…

5 years ago

How To Use TRUNCATE TABLE Statement In SQL

In this article, we will learn how to use the TRUNCATE TABLE statement in SQL. To delete the data inside…

5 years ago