Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Fri, 12 Apr 2013 @ 13:49:10 GMT

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

Subj:   Re: How to increase the size of text o/p from sql assistant
From:   Dieter Noeth

Anomy.Anom wrote:

  Now that none other than you saying that there is no data truncation, I'm in doubt whether this is my query !  



This is a common problem for recursion on strings due to the Union. Add a typecast to a VARCHAR with an appropriate size to the first select.

The first select of a Union determines the resulting data type and Teradata does a silent truncation :-)


  <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: 24 Jul 2020