The CONTAINS operator is extremely useful when scanning text in a database. When combined with generic or range field names, a single expression can perform quite sophisticated lookups.
Some notes about the use of CONTAINS:
ANY FIELD DESC* CONTAINS ALL WORD1, WORD2.
If each DESC... field held a sentence, this is equivalent to asking for a sentence containing both words.
Fields in the same record can contain the search argument(s). Thus, it is possible to find all records where a given character field in the records is contained within another character field.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |