Oracle Error ORA-02334: cannot infer type for column

Oracle Error Message

ORA-02334: cannot infer type for column

Reason for the Error

A datatype was not declared for this column (in the CREATE TABLE) and an attempt was made to create a constraint on an attribute of this column.

Solution

Declare a datatype for the column.