Hi @_el_doredo
Libraries based on SAS/ACCESS Interface to <RDBMS> (Oracle, Hive, Teradata, Snowflake,....etc) will not have all the table's characteristics/properties in the SAS dictionary tables/views, nor in the Data Set header portion.
So to get Row/Observation count for external <RDBMS> table, your two options are:
Query the <RDBMS> internal dictionary/system tables (Efficient). For Teradata, check these links
https://dbmstutorials.com/teradata/teradata_data_dictionary_queries.html
https://dataedo.com/kb/query/teradata/list-of-tables-by-the-number-of-rows
Issue Select count(*) query for every table in your list (can be Inefficient)! Not desired for large tables, if the database does not save this info !
Hope this helps,
Ahmed
... View more