Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 06 Jan 2006 @ 15:37:40 GMT


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


Subj:   Re: Perl, DBD::ODBC and 'Show Table'.
 
From:   Geoffrey Rommel

Baskaran's answer is correct. The reason is that "show table", for reasons I cannot fathom, returns a single row with carriage returns (\r). When you display these in Unix, they return the cursor to the beginning of the line without advancing to the next line; hence you see only the last "line", along with leftover junk from previous lines. Just s/\r/\n/g and the problem is solved.



     
  <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: 15 Jun 2023