INSERT elements without repeat values

Viewed 44

Hi I wantto insert a big amount of values in a sql base without repeat information. How can I do the insert conditioned on an id?

Example: insert into product(id,...) values (2,...)

How can I know to not put two product with the same id and elements conditioned the query?

Thanks

0 Answers
Related