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

Get the count of rows in the respective tables using cursors - forum topic by bikky6

$
0
0

Hi
 I have a scenario like
If I fired a query ,i will be getting a list of tables.In addition to that,I need to get the count of that tables.
What I thought is to make use of cursors inside a procedure,where the cursor row will process the each table once so that we can get row count for e ach table.
Please let me know if there are any better options.
 
I have seen the stats option but we are not sure that the stats may update.
Thanks

KVB

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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