17.10 - 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.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1144-171K
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;