Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 28 Apr 2005 @ 14:25:13 GMT


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


Subj:   SQL using Ltrim function
 
From:   Anomy Anom

<-- Anonymously Posted: Thursday, April 28, 2005 10:03 -->

Hi,

I have an sql that runs using the Ltrim function as follows:

     Sel ltrim(col_i) (char(10)) from db1.table1;

col_i is a varchar (255) field.

We are on v2r4.1.3.

The above SQL runs fine on SQL assistant 6.1 but does not run when i submit it from mainframe through BTEQ v08.02.01.00.

Is there a configuration in SQL assistant that controls this(or probably an ODBC feature) because of which this SQL runs fine?

Is there a way to make this work on BTEQ without changing the code?


Any help is much appreciated..

Thanks.



     
  <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