Cardinality violations occur when a query that should return only a single row returns more than one row to an Embedded SQL™ application.
Message  | 
Value  | 
Description  | 
|---|---|---|
Subquery returned more than 1 value. This is illegal when the subquery follows =, !=, <, <=, >, >=. or when the subquery is used as an expression.  | 
21000  | 
Occurs when: 
  |