Dark Mode

User-defined types (UDTs) are custom data types that a user can create and usein table definitions. They are entirely optional, but sometimes useful if youhave data that you would like to group together in a single column.UDTs must be added before you define or add a column using the data type ina table schema.

Prerequisites

This example creates a UDT called address_type that includes a street, city,state, and zip code.