
Chapter 12. Tips to proactively prevent SQL performance problems 419
why a query may be routed to CQE, putting the numeric expression in a separate host
variable is a good programming practice.
Figure 12-6 SQE implements with an index in either case
12.2.6 Using the LIKE predicate
The percent sign (%) and the underline (_), when used in the pattern of a LIKE predicate,
specify a character string that is similar to the column value of rows that you want to select.
Such queries can take advantage of indexes when used to denote characters in the middle or
at the end of a character string. However, when used at the beginning of a character string, ...