Writing SQL

Integer Data Types

Working with Integer Data Types. In this post, we discuss the different number or integer data types available in SQL Server.


Date and Time Data Types

Working with Date and Time Data Types. In this post, we discuss using both the Data and Time data types in SQL Server.


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.


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.


Working with Batches

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