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
Published
January 2021
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
vnq1596660420420.ditamap
dita:ditavalPath
hoy1596145193032.ditaval

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.