Symptom
-
ASE optimizer may choose a table scan or an unsuitable index scan if a LIKE predicate in WHERE clause contains :
-
a concatenation of parameters (e.g. LIKE ? + ? or LIKE ? || ?) in a prepared statement
-
or a concatenation of local variables (e.g. LIKE @var1 + @var2 or LIKE @var1 || @var2) in a batch query.
Read more...
Environment
-
SAP Adaptive Server Enterprise 15.7
-
SAP Adaptive Server Enterprise 16.0
Product
SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0
Keywords
757177, CR#757177, CR757177, LIKE optimization , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , Business Suite on Adaptive Server Enterprise , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.