Category Archives: SQL Commands

In this category – SQL Commands you can find articles focused on sql querying. Each article describes some interesting SQL command or code performing some action, for example how to create a loop, how to create a hierarchy, CTE, etc.

Don’t miss out from category:

SQL INSERT – Inserting Rows into Database Table (3 methods) + Common mistakes

SQL Command INSERT is suitable for situations when we want to insert entries into the table. Insertion of rows can be done in multiple ways (further description below): You can insert the values that you choose (INSERT INTO … VALUES (value1, value2, …)) You can insert the values into the table using script (SELECT clause… Read More »

SQL IDENTITY (Auto increment) – Automatic value increase, description

IDENTITY is a property in SQL Server that allows for the automatic numbering of records inserted into a table. It creates an automatic increment with unique values without the need for manual insertion of numbers into the table. This function can be utilized with numeric data types, and its typical use is for identifiers and… Read More »