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 |
|
- Cross-table join query examples and use cases
- Use case: Incident Analyst
- Use case: Department manager
- Use case: JavaScript Developer
- Example: Query two tables
- Example: Query more than two files
- Example: Sort
- Example: Count
- Example: Handle two files that have the same field name
- Example: Handle BLOB, CLOB, text and images
- Example: Handle a one-to-many relationship
Example: Handle BLOB, CLOB, text and images
This query shows all open Incidents, where current operator is a member of an assignment group (Support Groups) that is defined in the affected service.
Note
- Because an RDBMS cannot search on a BLOB field directly, if you want to use BLOB field as a query condition, you must map the BLOB field as multi-row array.
-
You must map
support.groups
fromDEVICE2M1
toDEVICE2A1
for this example to work. Otherwise, you will receive the following error:Queries on Blob/Clob/Text/Image field is not supported in cross table query. (display,process.option) Field "ta02.support.groups" in the query is not mapped or mapped to Blob/Clob/Text/Image. Queries on Blob/Clob/Text/Image field is not supported in cross table query. (display,process.option)
var file = new SCFile("probsummary"); var sql = "SELECT ta01.*, ta02.support.groups FROM probsummary ta01 LEFT OUTER JOIN device ta02 ON ( ta01.affected.item = ta02.logical.name ) WHERE ( ta02.support.groups isin $lo.pm.assignments and ta01.flag=true )"; var success = file.doSelect(sql); while (success == RC_SUCCESS) { success = findNextRecord = file.getNext(); }
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 docs.feedback@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: