ERROR | invalid datatype for PRIMARY KEY-based object identifier |
CAUSE | When creating an object view, the datatype of an expression in the WITH OBJECT OID clause is not allowed for PRIMARY KEY-based OID. |
ACTION | Replace the expression with one of appropriate scalar datatype. |