Archives of the TeradataForum 
 
 
Message Posted: Fri, 29 Jun 2012 @ 14:55:35 GMT 
 
  
 
 
 
 
  
|  Subj:  |   |  Script stops after OREPLACE function  |   
|     |   
|  From:  |   |  GRAHAM, Paul  |   
  
 
 
  
I have a script which 100+ statements in. It has a statement (at statement 80) which uses the OREPLACE function, it runs this, then stops,
without showing any idea why this is happening and how I can force the script to continue. I've included the code below: Script successfully runs
80 statements including this: 
     UPDATE DATABASE1.TABLE1
     SET FIELD1 = OREPLACE(FIELD1,' ','')
     ;
 The code then stops (without errors) even though the below and another 19+ statements exist: 
     ALTER TABLE DATABASE1.TABLE1
     ADD FIELD2 VARCHAR (1)
     ;
 Thanks 
Paul Graham 
Operational Analyst 
 
 
 
 
   
 
 |