Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Sun, 12 May 2002 @ 12:51:05 GMT

  <Prev Next>   <<First <Prev Next> Last>>  

Subj:   Re: SQL to get table name with row counts?
From:   Matthew Winter


Using the same SQL staements you have specified.

This could easily be converted to a Stored Procedure, which executes Dynamic SQL (i.e. Creates and Executes the SQL statement at the same time)

Therefore you would only need to execute the stored procedure, rather than generate the statements within QueryMan and copy the resultset to be executed.

Much simpler, and could be scheduled for a quite period.


Matthew Winter

  <Prev Next>   <<First <Prev Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020