14 July 2018        Add to Favorites   Report

How to find out when the table was last modified in Teradata?

Solution:

SELECT TABLENAME, LASTALTERTIMESTAMP 
FROM DBC.TABLES
WHERE DATABASENAME = 'My DB Name' -- OPTIONAL
ORDER BY LASTALTERTIMESTAMP DESC

Read great educational content like this and a lot more ! Create my free account now 🎁

Copied