wrote:
Hello Neha,
The error is exactly the same as before, but now for column Year.
You have an UNIQUE index for year column, so database will not allow you to insert a new record with a value for the year that already exists in the table.
As before, or you remove the unique from the index to allow multiple records for the same year, or you don't try to insert a record with a year that is already in table. What suits best your use case.
Cheers
Hi,
As mentioned before I am not trying to insert I am trying to update the record.