T-SQL

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.


Tables and Relationships

Understanding the difference between Parent Tables and Child Tables and the difference between Primary Keys vs Foreign Keys.


SQL Statement Categories

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


Table Constraints

Restricting data by using Table Constraints in SQL Server. What are the different table constraints in SQL Server?


What is a Schema?

The term schema could mean several different things. What are the different meanings and how are schemas are used in SQL Server.


DML Triggers

Working with Triggers in SQL Server. How to use triggers for data manipulation statements (DML) like INSERT, UPDATE, and DELETE.


Working with Time Precision

Working with Time Precision. How to efficiently support time precision in SQL Server. Data types are important to understand as they can save space on your hard drive, memory, and network.