Select all Table/View Names with each table Row Count in Teredata
问题 I have been stuck into a question. The question is I want to get all Table name with their Row Count from Teradata. I have this query which gives me all View Name from a specific Schema. I ] SELECT TableName FROM dbc.tables WHERE tablekind='V' AND databasename='SCHEMA' order by TableName; & I have this query which gives me row count for a specific Table/View in Schema. II ] SELECT COUNT(*) as RowsNum FROM SCHEMA.TABLE_NAME; Now can anyone tell me what to do to get the result from Query I