O'Reilly logo

Tera-Tom's 1000 Page e-Book on Teradata Architecture and SQL, 2nd Edition by Tom Coffing, William Coffing

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required