Author: don.leahy
Posted: Wed May 04, 2016 12:16 am (GMT 5.5)
Trailing blanks in the host variable can be significant if LIKE is used with wildcards.
There is a complete discussion in:
https://www.ibm.com/support/knowledgecenter/SSEPEK_11.0.0/com.ibm.db2z11.doc.sqlref/src/tpc/db2z_likepredicate.dita
Especially see the section that discusses the the LIKE_BLANK_INSIGNIFICANT subsystem parameter.
_________________
"Let's work the problem, people. Let's not make things worse by *guessing*".
http://donleahy.blogspot.com/
Posted: Wed May 04, 2016 12:16 am (GMT 5.5)
Trailing blanks in the host variable can be significant if LIKE is used with wildcards.
There is a complete discussion in:
https://www.ibm.com/support/knowledgecenter/SSEPEK_11.0.0/com.ibm.db2z11.doc.sqlref/src/tpc/db2z_likepredicate.dita
Especially see the section that discusses the the LIKE_BLANK_INSIGNIFICANT subsystem parameter.
_________________
"Let's work the problem, people. Let's not make things worse by *guessing*".
http://donleahy.blogspot.com/