Writing SQL

Working with Time Precision

Explore the importance of working with time precision. Learn how the TIME data type can optimize your data storage efficiency.


Data Type Conversion

Using the CAST and CONVERT functions to convert data types in SQL Server. What are the differences between the two functions to convert data types in a T-SQL statement?


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.



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.


IDENTITY Columns

Learn how to use IDENTITY Columns to automatically number records in your database tables for efficient data management.