16.10 - About Notation Conventions - Teradata Database

Teradata Database SQL Data Types and Literals

prodname
Teradata Database
vrm_release
16.10
created_date
June 2017
category
Programming Reference
featnum
B035-1143-161K

This appendix describes the notation conventions used in this book.

Convention Description
Syntax Diagrams

Describes SQL syntax form, including options.

Square braces in the text

Represent options. The indicated parentheses are required when you specify options.

For example:

DECIMAL [(n[,m])] means the decimal data type can be defined

optionally:

  • without specifying the precision value n or scale value m
  • specifying precision (n) only
  • specifying both values (n,m)

You cannot specify scale without first defining precision.

  • CHARACTER [(n)] means that use of (n) is optional.

The values for n and m are integers in all cases.