Tag: TSQL

 

FROM SQL statement is used to enumerate tables and any associations required for SQL statement. Syntax of FROM statement in SQL FROM tab1 [ { INNER JOIN | LEFT [OUTER] JOIN | RIGHT [OUTER]...

 

The EXCEPT SQL statement is used to return all lines in the first SELECT statement that are not returned by the second SELECT statement. Each SELECT operator will define a data set. EXCEPT will...

 

The MINUS SQL operator is used to return all lines in the first SELECT operator, which are not returned by the second SELECT operator. Each SELECT operator will define the data set. The MINUS...

 

INTERSECT SQL Server statement - The statement is used to return 2 or more SELECT statements. However, it returns only the strings selected by all queries or data sets. If a record exists in one...

 

UNION ALL SQL Server operator is used to combine the resulting sets of 2 or more SELECT operators. It does not remove repeating rows between different SELECT operators (all rows are...

 

TRUNCATE TABLE SQL server statement is used to delete all records from a table. It performs the same function as the DELETE operator, without the WHERE offer.Warning: when truncating a table,...

 

SQL operator SELECT TOP is used to extract records from one or more tables in a database and limit the number of records to be returned based on a fixed value or percentage.Tip: SELECT TOP is...

 

SQL operator SELECT LIMIT is used to extract records from one or more tables in the database and limit the number of records to be returned based on the limit value.Tip: SELECT LIMIT is not...

 

SQL Server operator ORDER BY is used to sort records in the SELECT query result set. Syntax for ORDER BY statement in SQL Sorting by one field:SELECT * FROM tab n WHERE condition ORDER BY...

 

SQL Server the most popular database management systems (DBMS) in the world. This DBMS is suitable for a variety of projects: from small applications to large highly loaded projects.SQL...

 

SQL RTRIM - The RTRIM function can remove all specified characters from the right side of the string in Oracle/PLSQL. Syntax of the Oracle/PLSQL RTRIM function RTRIM( string_d, [ trim_string_d...

 

IDENTITY SQL - The table property in Microsoft SQL Server is IDENTITY_INSERT. Using this property, we can insert an explicit value into the autoincrement column with IDENTITY that was previously...

 

SQL IIF function of T-SQL language, which is designed to simplify the writing of conditional constructions using the well-known expression CASE or operators IF...ELSE...THEN.IIF is a logical...

 

The ISNULL SQL Server function checks the value of some expression. If it is NULL, the function returns a value which is passed as the second parameter: ISNULL(expression, value). Syntax of...

 

AVG function (Average) in SQL Server (Transact-SQL) - AVG function returns the arithmetic mean for all found records. Arithmetic mean of a group of numbers is their sum divided by their...

 

INSERT INTO -  is a T-SQL instruction designed to add data to a table, i.e. create new records. This instruction can be used both for adding one line to the table and for mass inserting data....

 
3