Archives of the TeradataForum
Message Posted: Wed, 10 Dec 2003 @ 15:20:52 GMT
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 ;-)
|Copyright 2016 - All Rights Reserved|
|Last Modified: 23 Jun 2019|