Consider the table which contains unique Key and Primary Key .the tables already contains data.If i added any rows to the table i received an error (ORA – 0001) which is due to the duplicate value is added to the Primary Key or Unique Key .Here i am not able to identify whether the error is due to the addition of duplicate value to the Primary Key or Unique Key.Can anyone suggest me how to identify this?
Consider the table which contains unique Key and Primary Key .the tables already contains
Share
The format of the ORA-00001 message is:
ORA-00001: unique constraint violated (string.string)
where
string.stringisschema.constraint_name. This is why it is good practice to give our constraints helpful names.