haqattaqq
New Member.

RE: Using API, how to retrieve a list of CRs based on a Usr_ defined field

Jump to solution
Hi Anil,
One more question - how can I query to see if a field is populated? I want to do something like this:

"select * from changerequests where Usr_defined_field is not null"

Can you tell me the right syntax for "is not null"?

Thanks!
0 Likes
haqattaqq
New Member.

RE: Using API, how to retrieve a list of CRs based on a Usr_ defined field

Jump to solution
...actually I need to know "is null" and "is not null".
0 Likes
Micro Focus Expert
Micro Focus Expert

RE: Using API, how to retrieve a list of CRs based on a Usr_ defined field

Jump to solution
My apologies, I have not received email notification of this question, and to make matters worse, my laptop has been acting up.


Please try "neq null" and let me know

i ran the following commands against our production server.
select all from changerequest where responsibility eq null (0 rows returned)
select all from changerequest where responsibility neq null (4117 rows returned)

take care
anil
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.