Search for InfoObjects that do or do not have a certain property.
SELECT SI_ID, SI_NAME FROM CI_INFOOBJECTS WHERE SI_DESCRIPTION != NULL
(finds objects with a Description propertythe result will include objects whose Description property has either a specified value or an empty value)
SELECT
SI_ID, SI_NAME FROM CI_INFOOBJECTS WHERE SI_DESCRIPTION = NULL
Note: Using NULL as a search criteria is different from using an empty value as a search criteria. The following queries retrieve objects that have a Description property, but whose value may or may not be empty:
SELECT SI_ID, SI_NAME FROM CI_INFOOBJECTS WHERE SI_DESCRIPTION = ''
(finds objects whose Description property has an empty value)
SELECT SI_ID, SI_NAME FROM CI_INFOOBJECTS WHERE SI_DESCRIPTION != ''
(finds objects whose Description property has a non
Crystal Decisions, Inc. http://www.crystaldecisions.com Support services: http://support.crystaldecisions.com |