Administer > Database administration > Data persistence > Queries > Use like queries to search for a string of characters

Use like queries to search for a string of characters

Applies to User Roles:

System Administrator

Example: Use a like query in combination with a field function to retrieve all records for vendors/suppliers that begin with the character string DEFAULT.

In this example, we use the like relational operator on the vendor.qbe form to query the vendor field for vendors/suppliers that begin with DEFAULT, followed by any character or character string.

To use like queries to search for a string of characters:

  1. Click Tailoring > Database Manager.
  2. Type =device in the Form field, and then click Search.
  3. On the Asset Information form, open the More Actions menu.
  4. Select Expert Search.
  5. In the Query field, type vendor like “DEFAULT*”, and then click Search.
  6. Click any record in the list of returned records to view the details.

Related topics

Relational operators
Like relational operator
The Database Manager utility
Record retrieval
Retrieving records using the Query window method
More Actions menu

Use the like relational operator
Create a query using more than one field
Create a query using array fields