Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 30 May 2003 @ 20:49:48 GMT


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


Subj:   BTEQ and RTRIM
 
From:   Paul Swier

I have been trying to run a query in BTEQ using rtrim and I have not been succesful. Is it not possible? Below is a sample query. The mesage I receive is: *** Failure 3706 Syntax error: expected something between '(' and the word 'CHILDDB'.

select DISTINCT 'ALTER TABLE '||RTRIM(CHILDDB)||'.'|| CHILDTABLE ||' DROP CONSTRAINT '||INDEXNAME||'; '
from DBC.All_RI_Children
where childdb<>PARENTDB

Any help would be appreciated



     
  <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