Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 05 Jan 2006 @ 15:02:10 GMT


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


Subj:   Re: Perl, DBD::ODBC and 'Show Table'.
 
From:   Audikesavan, Baskaran

You could try some thing like this.

     my $MyQuery="SHOW TABLE $MyTable;";
     my $sth = $dbh->prepare($MyQuery);
     $sth->execute();
     while ($MyText = $sth->fetchrow_array) {
       $MyText=~s/\r/\n/g;
       $MyResult=$MyText;
     }
     print "Show Table Result :$MyResult \n" ;

Thank you



     
  <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: 23 Jun 2019