Skip to content

Glossary: SQL Beyond the Basics

CAST

Also written: CAST(value AS INTEGER)

Converts a value to another type. Step 4 uses it to turn text like '09' into the number 9 so months can be added and subtracted.

Where the book teaches it

Related terms

Integer