devxlogo

September 20, 2017

Using the Replace Command in MySQL

REPLACE is similar to INSERT command. The REPLACE command behaves as INSERT when there is no record matching the constraints. It still removes the existing records and again acts as