Is there a quick way to prevent duplicate data from being inserted into a table? I mean, the key will always be different, but the rest of the record can be repeated, and thus there would be two different keys identifying the same data.
I could search the whole table, but I am afraid that the performance lost in doing so.
Note. I'm just starting to learn SQL, please bear with me if this is a dumb question for you.
Tobias m
source
share