Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Wed, 10 Dec 2003 @ 15:20:52 GMT

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

Subj:   Re: SQL Standard for the "%" wildcard on the LIKE predicate.
From:   Dieter Noeth

Arunachalam, Sankar wrote:

I would think that when 'NEW YORK' is correctly equated to 'NEW YORK ' in a CHAR Column then '%YORK' should also be equated to 'NEW YORK '... So I guess this can be considered as a valid bug. If ANSI SQL were to append blank while comparing CHAR strings that should also apply to wild card comparisons. So my vote -- this is a BUG

According to ANSI SQL blanks are significant to the LIKE predicate, but not for comparison predicates (=, <>).

So if it's a bug, then it's a bug in SQL:1999 ;-)


  <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: 23 Jun 2019