Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Cross tab - Pivot - response (10) by dnoeth

$
0
0

There's no place like sysindexes in Teradata which keeps the rowcount.
You need to run multplie SELECTs like

SELECT
   (SELECT COUNT(*) FROM tab1) as cnt1, 
   (SELECT COUNT(*) FROM tab2) as cnt2, 
   ...

Or you extract tha info from the stats, it's not exact, but if stats are mantained regularily it might be good enough.
 
Dieter


Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>