Example: Columns Defined Using Different Types of NUMBER Types - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

This example creates a table whose columns each use a different form of the NUMBER data type.

     CREATE TABLE num_tab (
       n1 NUMBER(*,3),
       n2 NUMBER,
       n3 NUMBER(*),
       n4 NUMBER(5,1),
       n5 NUMBER(9));