Trailing spaces in varchar in where
-----------------------------------
Key: CORE-6201
URL: http://tracker.firebirdsql.org/browse/CORE-6201
Project: Firebird Core
Issue Type: Bug
Components: Charsets/Collation
Affects Versions: 3.0.4
Reporter: Alexander Muylaert
Priority: Trivial
Hi
I really was not expecting this statement to be true. As I understand it,
trailing spaces are ignored at all levels. But I cannot think of any good
reason why this is what it is. I noticed ms-sql has it as well.
select cast('dog ' as varchar(200)) = trim(cast('dog ' as varchar(200)))
from RDB$DATABASE
Thanks for answering
Alexander
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel