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.


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.


Working with Schemas

What is the schema object in SQL Server? How is the schema object used for organization, naming, and security?


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.


What is a Function?

What is a SQL Function and how to use a function in a T-SQL statement? We use the GetDate() and LEFT() functions as examples.



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.


Working with Batches

Working with Batches in SQL Server, What are the differences between batches and transactions?