Answer the question
In order to leave comments, you need to log in
Is it worth it to check for duplicates when adding a record with a unique hash to the database?
Let's take an example.
In one unnamed database table, there is a hash field containing a unique set of characters automatically generated for each record before it is added to the database. Should I check for records with the same hash before adding a record? If yes, how? a while loop? Is this 0.0000000000001% chance worth it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question