create table widep(
cac NUMBER,
ddate DATE,
dtime TIMESTAMP,
type VARCHAR2,
amount NUMBER(10,2),
constraint qwe foreign key(cac) references cust(cac)
)
The complete error message states Error at Command
Line:5 Column:15
which is this location:
type VARCHAR2,
^^^
VARCHAR2
requires a size parameter to define the maximum number of characters. Use something like
create table widep(
cac NUMBER,
ddate DATE,
dtime TIMESTAMP,
type VARCHAR2(100),
amount NUMBER(10,2),
constraint qwe foreign key(cac) references cust(cac)
);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With