Q&A

Q1:Why do implementations choose to deviate from a standard set of data types and functions?
A1: Implementations differ as far as the representation of data types and functions mainly because of the way each vendor has chosen to internally store data and provide the most efficient means of data retrieval. However, you will find that all implementations should provide the same means for the storage of date and time values based on the required elements prescribed by ANSI, such as the year, month, day, hour, minute, second, and so on.
Q2:What if I want to store date and time information differently than the default date format in my implementation?
A2: Dates can be stored in nearly any type of format if you choose to define the column for a ...

Get Sams Teach Yourself SQL in 21 Days, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.