17.05 - INSERT... SELECT and NORMALIZE - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Manipulation Language

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Release Date
January 2021
Content Type
Programming Reference
Publication ID
B035-1146-175K
Language
English (United States)

These restrictions also apply to an INSERT... SELECT statement included in a CREATE TRIGGER, REPLACE TRIGGER, CREATE MACRO, REPLACE MACRO, CREATE PROCEDURE, or REPLACE PROCEDURE statement.

LOCAL ORDER BY and NORMALIZE

You cannot specify the NORMALIZE option as part of SELECT in an INSERT... SELECT statement that includes the LOCAL ORDER BY option.

NOPI Target Table and NORMALIZE

You cannot specify the NORMALIZE option as part of SELECT in an INSERT... SELECT statement where the target table is defined with NO PRIMARY INDEX.

NORMALIZE in Target Table Definition

You cannot specify the LOCAL ORDER BY option in an INSERT... SELECT statement where the target table definition includes the NORMALIZE option.

You cannot specify the HASH BY option in an INSERT... SELECT statement where target table definition includes the NORMALIZE option.