<code>REPLACE</code> worksfonctionne exactlyexactement likecomme <code>INSERT</code>, exceptsauf thatque ifsi anl'ancien oldenregistrement recorda inla themême tablevaleur hasque thele samenouveau valueen astant a new record for aque <code>PRIMARY KEY or aou <code>UNIQUE index</code>, the old record is deletedl'ancien beforeest thesupprimé newavant recordl'insertion isdu insertednouveau.
Le mot <code>IGNORE</code> ajuste les valeurs invalides au plus près et insérées, en affichant des avertissements.
With IGNORE, invalid values are adjusted to the closest values and inserted; warnings are produced but the statement does not abort.