Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 11 of 11 total
Thread Locate doesn't work as expected
Mon, Aug 19 2013 2:38 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Arno,

<< Why does Locate('Name', 'foo ', []) return true even though there's just
a record with Name = 'foo' (no trailing space)? >>

Trailing spaces are discarded when comparing VARCHAR columns:

http://dba.stackexchange.com/questions/10510/behavior-of-varchar-with-spaces-at-the-end

EDB does so consistently, though, and does not make an exception for LIKE
comparisons like SQL Server does.

Tim Young
Elevate Software
www.elevatesoft.com
« Previous PagePage 2 of 2
Jump to Page:  1 2
Image