I have been having a lot of problems in creating a new Oracle table. It has gone from one error to another.
This may be its last issue.
I am trying out why thi
Oracle INTEGER
type does not allow either precision
nor scale
.
Actually, Oracle's INTEGER
is basically the same as NUMBER(38, 0)
.
In your case you can change the definition of overdue_cost
and days_checked_out
in two ways:
Define them as INTEGERS
, but leave the presision
/scale
out:
overdue_cost INTEGER,
days_checked_out INTEGER
Define them as NUMBER(10, 0)
- preferred, since one of the fields has non-zero scale
.
overdue_cost NUMBER(10, 0),
days_checked_out NUMBER(10, 2)