Chapter 24 - Format Functions

“Even I don't’ wake up looking like Cindy Crawford.”

- Cindy Crawford

The FORMAT Command

images

 

 

In this example, we are using it for dates. All dates in Teradata are stored in the systems as an INTERGERDATE. This allows it to be read and formatted easily.

The Basics of the FORMAT Command

images

 

Format the dates for appearance on the report. The actual data doesn't change.

Quiz - How will the Date Appear after Formatting

 

Answer to Quiz - How will the Date Appear after Formatting

Quiz - How will the Date Appear after ...

Get Tera-Tom's 1000 Page e-Book on Teradata Architecture and SQL, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.