SQL

SQL COALESCE Function

The SQL Coalesce function is used when you want to combine values from a series of columns or expressions when they might contain NULL values.


Using GROUP BY and HAVING

In this post, we discuss how to use the GROUP BY and HAVING clause in a T-SQL statement and how to use them with aggregate functions.



SQL Statement Categories

There are four main categories of statements used when writing T-SQL. What are the differences between each of these categories?


SQL Query Processing

How SQL Queries are processed by the Relational Engine. Parsing, Resolving, Optimizing, Compiling, and Executing to return SQL Sets.


Using the INSERT Statement

How to use an INSERT statement to add records to a table in SQL Server. We will begin with just a simple INSERT statement that will add one row into the table.




Transactions and Errors

SQL Transaction and Error Handling? What is the difference between Auto-Commit and Explicit Transactions and how transaction effect Errors and Exception Handling?


IDENTITY Columns

How to use IDENTITY columnsĀ in a table. An IDENTITY field is very similar to an auto-number field, where the number will automatically be added as each record is inserted.