Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Fri, 20 Jul 2007 @ 21:00:46 GMT


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


Subj:   Re: MINUS works well; EXCEPT has an exception
 
From:   Anomy Anom

<-- Anonymously Posted: Friday, July 20, 2007 14:46 -->

The error is your SUBSTRING expression. No idea why MINUS versus EXCEPT makes a difference.

Valid syntax is either

     SUBSTR(string,startpos,len)
     SUBSTRING(string FROM startpos FOR len)

If you want full ANSI compliance, consider using the ANSI function syntax for SUBSTRING and use POSITION instead of INDEX



     
  <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