-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Data Analysis Using SQL and Excel - Second Edition
By :
This section covers some basics when looking at date columns. The companion data sets have several date columns. Subscriptions contains the start date and stop date of subscriptions. Orders contains the order date, and the related OrderLines contains the billing date and shipping date for each line item in the order. Throughout this chapter, all these dates are used in examples. This section starts by looking at the date values themselves, and continues from there.
Sometimes, the result set for a query shows only the date components of datetime values, and not the time components. The date part is usually more interesting; and, leaving out the time reduces the width needed for output. Non-zero time values may not be visible, which can be misleading. For instance, two dates might look equal—say, as 2014-01-01. In a comparison, the two dates might not be equal because one is for noon and the other for midnight. Also...
Change the font size
Change margin width
Change background colour