Community

REPLACE INTO: think twice

(Shlomi Noach) The REPLACE [INTO] syntax allows us to INSERT a row into a table, except that if a UNIQUE KEY (including PRIMARY KEY) violation occurs, the old row is deleted prior to the new INSERT, hence no violation.

Read More - Register for Free Membership