EMPTY collection predicate

You can use the EMPTY collection predicate to test if a multivalued relationship has no members.

Use the following syntax:
collection-valued-path-expression  IS [NOT]  EMPTY

Example: Empty collection predicate

To find all departments with no employees:
SELECT OBJECT(d) FROM DeptBean d  WHERE  d.emps IS EMPTY

指出主題類型的圖示 概念主題



時間戳記圖示 前次更新: July 9, 2016 11:11
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=cque_emptycoll
檔名:cque_emptycoll.html