17.05 - ALTER TABLE RELEASE ROWS Examples - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

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

Example: Remove Logically Deleted Rows

ALTER TABLE lditab1 RELEASE ROWS;

Example: Remove Logically Deleted Rows and Reset RowLoadID

ALTER TABLE lditabl2 RELEASE DELETED ROWS AND RESET LOAD IDENTITY;