Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
- Queries
- Simple query expressions
- Complex query expressions
- Create a query using not in statements
- Create a query using an or statement or an and statement
- Use like queries to search for a string of characters
- Create a query using an or statement or an and statement
- Create a query using array fields
- Create a query using more than one field
- Perform IR Expert queries
- Use the equal to relational operator
- Use the greater than relational operator
- Use the less than relational operator
- Use the like relational operator
- Use the not symbol with logical or relational operators
- Use the starts with relational operator
- Create a query using a simple query expression
- Create a query using isin in statements
- Use the index function in a query
- Use the lng function in a query
- Use the tod function in a greater than or less than query
- Retrieving records by using the record list method
- Retrieving records by using the Query window method
- Stored queries
- Cross-table join query improvements
Use the index function in a query
Applies to User Roles:
System Administrator
Example: Retrieve all records where the character string DEFAULT occurs anywhere in the device name and the device name ends in the number string 002.
In this example, we use a like query and wildcard characters with the index function to perform an Advanced Search on records in the device.qbe form.
To use the index function in a query:
- Click Tailoring > Database Manager.
- Type
=device
in the Form field, and then click Search. - On the Asset Information form, open the More Actions menu.
- Select Expert Search.
-
In the Query field, type
logical.name like “*002” and index(“DEFAULT”, logical.name)>0
, and then click Search.Note: Wildcard characters are only valid in like queries. In other types of queries, the characters are literal interpretations.
- Click any record in the list of returned records to view the details.
Note: A device is also referred to as an Asset or Configuration Item (CI).
Related concepts
Complex query expressions
Record retrieval
Relational operators
Stored queries
The Database Manager utility
Using functions in a query
More Actions menu
Related tasks
Use like queries to search for a string of characters
Use the lng function in a query
Use the tod function in a greater than or less than query
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to ovdoc-ITSM@hp.com.
Help Topic ID:
Product:
Topic Title:
Feedback: