Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Dealing with dates
Working with time data
11. Time in T-SQL
Date and time date
Extracting dates and times
Doing arithmetic with dates
Converting date and time data
Building date and time data from parts
Summary and review

Instruction

Our database can also store time data. At PerfectAir, time columns are used in the Route table for planned departure and arrival times. Let's see how time is represented in the database.

Exercise

Select the DepartureTime column from the Route table.