| United States-English |
|
|
|
![]() |
ALLBASE/SQL Performance and Monitoring Guidelines: HP 3000 MPE/iX Computer Systems > Chapter 3 Guidelines on Query DesignUsing Predicates with LIKE |
|
An index scan may be used for a query with a LIKE predicate. However, there are situations in which a table scan is a better choice for good performance. For example, for LIKE pattern values that start with a wildcard, ALLBASE/SQL needs to scan the whole relation. In this case, a table scan is usually the optimal scan to use. Here are some suggestions for the use of LIKE in predicates:
Predicates containing LIKE are only optimized if the language of the column is NATIVE-3000. |
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||