hello there..
Im having a problem with this table, when i try running it, it gives the error shown bellow, i am using sql developer, I have tried others ways for writting the constrains but its just not working.
Create table borrowed_equipments(equipment_name constraint for_key_equipment_name foreign key references equipments(equipment_name),
user_name constraint fk_user_name foreign key references users(user_name),date_taken date,return_date date);
ora-02253:constraint specified is not allowed here
Im having a problem with this table, when i try running it, it gives the error shown bellow, i am using sql developer, I have tried others ways for writting the constrains but its just not working.
Create table borrowed_equipments(equipment_name constraint for_key_equipment_name foreign key references equipments(equipment_name),
user_name constraint fk_user_name foreign key references users(user_name),date_taken date,return_date date);
ora-02253:constraint specified is not allowed here