Reputation: 9245
I would like to translate the following Oracle SQL query into Teradata SQL:
SELECT table_name, num_rows FROM ALL_TABLES
This query retrieves all the tables along with the number of rows. What is the Teradata SQL equivalent?
Upvotes: 0
Views: 3549
Reputation: 24
Try this and play :)
SELECT DatabaseName, TableName, CreateTimeStamp, LastAlterTimeStamp FROM DBC.TablesV
Upvotes: 0