Professional Documents
Culture Documents
Assignment 1 21L5787
Assignment 1 21L5787
Database Systems
Section: BSSE-4A
2) ‘time’: This datatype stores time without the date component in the format
HH:MM:SS. For example, 14:53:00 (2:53 p.m). Its range is from
00:00:00.0000000 to 23:59:59.9999999. Its accuracy is up to 100
nanoseconds. It is a commonly used datatype to store simple time without
date.
The following are some examples of the formats that can be used for dates in SQL: