CREATE MAP Syntax | Teradata Vantage - 17.00 - CREATE MAP Syntax - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Advanced SQL Engine
Teradata Database
Release Number
Release Date
September 2020
Content Type
Programming Reference
Publication ID
English (United States)
CREATE MAP sparse_map_name FROM contiguous_map_name SPARSE AMPCOUNT = n [;]

Syntax Elements

Name of the sparse map.
You cannot specify a name of an existing map or a name that begins with TD_.
For best practice, include "map" in the name, for example OneAMPMap or SmallTable_Map.
FROM contiguous_map_name
Name of the parent contiguous map for the sparse map. You must specify the name of an existing contiguous map.
You cannot specify TD_DataDictonaryMap or TD_GlobalMap.
Required keyword to indicate that the map is a sparse map.
Specifies the number of AMPs for the map, where n is a value from 1 to the number of AMPs in the parent contiguous map, up to 1024.