Example: Obtain the Number of Logically Deleted Rows - Teradata Database

SQL Data Manipulation Language

Product
Teradata Database
Release Number
15.10
Language
English (United States)
Last Update
2018-10-06
dita:id
B035-1146
lifecycle
previous
Product Category
Teradata® Database

Example: Obtain the Number of Logically Deleted Rows

    SELECT WITH DELETED ROWS COUNT(*) FROM ldi_table 
    WHERE TD_ROWLOADID > '100000000'xi8;