All Attribute Types
|
|||
---|---|---|---|
null
not null
|
The null operators search for the presence or absence of a value, but does not evaluate the value itself. Null values are attributes that are left blank.
For example, you perform a search against the following values:
Material: Steel
Material: Iron Material: Material: Aluminum not null — Return all objects that have any value entered in the Material field:
Material: Steel
Material: Iron Material: Aluminum null — Return all objects that have no value entered in the Material field:
Material:
|
||
equals
not
|
Returns values that are a precise match.
For example, you perform a search against the following values:
Material: Steel
Material: Iron Material: Aluminum equals Steel — Return all objects with steel:
Material: Steel
not Steel — Return all objects with any material other than steel:
Material: Iron
Material: Aluminum
|
|
Strings are processed differently depending on your locale, character encoding, and database collation.
The following table uses the default settings for the English locale.
|
Strings
|
|||||
---|---|---|---|---|---|
in
not in
|
Provide a list of possible values separated by the pipe character (‘|’) or a comma.
For example, you perform a search against the following values:
Title: Specifications for Release
Title: Project Timeline Title: Contact Matrix Title: contact matrix in contact matrix, Project Timeline — Return all objects with titles in the list:
Title: Project Timeline
Title: contact matrix not in contact matrix, Project Timeline — Return all objects with titles not in the list:
Title: Specifications for Release
Title: Contact Matrix
|
||||
like
not like
|
Search for string values, beginning at the start of the string and moving towards the end.
For example, you perform a search against the following values:
Title: Specifications for Release
Title: Appendix 9 Title: approval for release Title: Review09-17 like app — Return all objects that have titles starting with “app”:
Title: approval for release
not like app — Return all objects which have titles that do not start with “app”:
Title: Specifications for Release
Title: Appendix 9 Title: Review09-17 like *9 — Return all objects with titles that include the number 9:
Title: Appendix 9
Title: Review09-17 not like *9 — Return all objects with titles that do not include the number 9:
Title: Specifications for Release
Title: approval for release
|
||||
>
>=
<
<=
|
Return string values greater than or less than the string.
Strings are sorted by character value, starting with the first character in the string. Character value is assessed using printable ASCII code. For more information, see http://www.ascii-code.com/.
With some exceptions, the sort order is as follows: spaces < symbols < 0-9 < A-Z < a-z
For example, the following strings are sorted by value from smallest to largest:
1
1 2 a ABC Efg ABC m45 x For example, you and another user are responsible for evaluating budget requests submitted by individual employees. You have divided the work based on employee names. You are responsible for evaluating requests from employees whose name starts with A through L, and your coworker evaluates M through Z.
To complicate this, a random 5 character identifier is appended to the front of each submission. As a result, you have the following files:
Name: 469hh Anderson
Name: 02bf5 Jones Name: t7811 Morris Name: 981zr Smith > zzzzz M — Return strings with a larger character value:
Name: 981zr Smith
>= zzzzz M — Return strings with a larger or equal character value:
Name: t7811 Morris
Name: 981zr Smith < zzzzz M — Return strings with a smaller character value:
Name: 469hh Anderson
Name: 02bf5 Jones <= zzzzz M — Return strings with a smaller or equal character value:
Name: 469hh Anderson
Name: 02bf5 Jones Name: t7811 Morris
|
Numbers
|
|
---|---|
in
not in
|
Provide a list of possible values separated by the pipe character (‘|’).
For example, you perform a search against the following values:
Cost: 16.25
Cost: 462 Cost: 585.50 Cost: 1100 in 10|16.25|585 — Return all objects with a listed cost:
Cost: 16.25
not in 10|16.25|585 — Return all objects with a cost that is not in the list:
Cost: 462
Cost: 585.50 Cost: 1100 |
>
>=
<
<=
|
Search for numbers greater than or less than the supplied value.
For example, you perform a search against the following values:
Cost: 16.25
Cost: 462 Cost: 585.50 Cost: 1100 > 462 — Return all objects with a cost greater than 462:
Cost: 585.50
Cost: 1100 >= 462 — Return all objects with a cost greater than or equal to 462:
Cost: 462
Cost: 585.50 Cost: 1100 < 462 — Return all objects with a cost less than 462:
Cost: 16.25
<= 462 — Return all objects with a cost less than or equal to 462:
Cost: 16.25
Cost: 462 |
Dates | |
---|---|
between | Return dates within the given time period, including the selected dates. For example, you perform a search against the following values: Deadline: 2016-07-15 Deadline: 2016-07-20 Deadline: 2016-08-05 Deadline: 2016-11-29 between 2016-07-19 - 2016-08-05 — Return all tasks with deadlines between July 19 and August 5: Deadline: 2016-07-20 Deadline: 2016-08-05 |
yesterday last week last month last quarter last year | Return dates within a past time period. For example, the current date is 15 July 2016 and you perform a search against the following values: Deadline: 2015-10-22 Deadline: 2016-04-17 Deadline: 2016-06-21 Deadline: 2016-07-04 Deadline: 2016-07-14 Deadline: 2016-08-11 yesterday — Return all tasks with a July 14 deadline: Deadline: 2016-07-14 last week — Return all tasks with a deadline from July 3 through July 9: Deadline: 2016-07-04 last month — Return all tasks with a deadline in June 2016: Deadline: 2016-06-21 last quarter — Return all tasks with a deadline from April 2016 through June 2016: Deadline: 2016-04-17 Deadline: 2016-06-21 last year — Return all tasks with a deadline in 2015: Deadline: 2015-10-22 |
today this week this month this quarter this year | Return dates within the current time period. For example, the current date is 15 July 2016 and you perform a search against the following values: Deadline: 2015-10-22 Deadline: 2016-04-17 Deadline: 2016-07-04 Deadline: 2016-07-12 Deadline: 2016-07-15 Deadline: 2016-08-11 today — Return all tasks with a July 15 deadline: Deadline: 2016-07-15 this week — Return all tasks with a deadline from July 10 through July 16: Deadline: 2016-07-12 Deadline: 2016-07-15 this month — Return all tasks with a deadline in July 2016: Deadline: 2016-07-04 Deadline: 2016-07-12 Deadline: 2016-07-15 this quarter — Return all tasks with a deadline from July 2016 through September 2016: Deadline: 2016-07-04 Deadline: 2016-07-12 Deadline: 2016-07-15 Deadline: 2016-08-11 this year — Return all tasks with a deadline in 2016: Deadline: 2016-04-17 Deadline: 2016-07-04 Deadline: 2016-07-12 Deadline: 2016-07-15 Deadline: 2016-08-11 |
tomorrow next week next month next quarter next year | Return dates within a future time period. For example, the current date is 15 July 2016 and you perform a search against the following values: Deadline: 2016-04-17 Deadline: 2016-07-16 Deadline: 2016-07-20 Deadline: 2016-08-11 Deadline: 2016-09-30 Deadline: 2016-11-14 Deadline: 2017-02-12 tomorrow — Return all tasks with a July 16 deadline: Deadline: 2016-07-16 next week — Return all tasks with a deadline from July 17 through July 23: Deadline: 2016-07-20 next month — Return all tasks with a deadline in August 2016: Deadline: 2016-08-11 next quarter — Return all tasks with a deadline from October 2016 through December 2016: Deadline: 2016-11-14 next year — Return all tasks with a deadline in 2017: Deadline: 2017-02-12 |
> >= < <= | Return dates before or after a specified date. Deadline: 2015-11-22 Deadline: 2016-01-28 Deadline: 2016-04-17 Deadline: 2016-06-21 Deadline: 2016-07-04 Deadline: 2016-08-12 Deadline: 2016-11-30 Deadline: 2017-02-05 > 2016-06-21 — Return all tasks with a deadline after 21 June 2016: Deadline: 2016-07-04 Deadline: 2016-08-12 Deadline: 2016-11-30 Deadline: 2017-02-05 >= 2016-06-21 — Return all tasks with a deadline on or after 21 June 2016: Deadline: 2016-06-21 Deadline: 2016-07-04 Deadline: 2016-08-12 Deadline: 2016-11-30 Deadline: 2017-02-05 < 2016-06-21 — Return all tasks with a deadline before 21 June 2016: Deadline: 2015-11-22 Deadline: 2016-01-28 Deadline: 2016-04-17 <= 2016-06-21 — Return all tasks with a deadline on or before 21 June 2016: Deadline: 2015-11-22 Deadline: 2016-01-28 Deadline: 2016-04-17 Deadline: 2016-06-21 |