Table Size and Maximum Number of Columns Per Table
If a CREATE TABLE request defines more than 2,048 columns, the table creation attempt aborts and the system returns an error message.
A base table can have a maximum of 32 LOB columns. This limit includes both predefined LOB columns and LOB UDT, Period, and Geospatial columns. A LOB UDT column counts as 1 LOB column even if the type is a structured UDT that has multiple LOB, Period, or Geospatial attributes.
Any table that has BLOB, CLOB, Period, or Geospatial columns must have at least 1 non‑LOB column to act as its primary index because BLOB, CLOB, Period, and Geospatial columns cannot be a component of any index.
Unless at least 1 non‑LOB column is constrained as a PRIMARY KEY or as UNIQUE when no primary index is explicitly defined, the first column defined for the table cannot have a BLOB, CLOB, Period, or Geospatial data type. This restriction is enforced because, for this particular set of circumstances, Teradata Database assigns the first column specified in a table definition to be its primary index.