REPLACE
REPLACE is used to insert rows into or replace rows in a table.
Common Syntax
replace into table(col1,col2,col3) values(value1,value2,value3)
Syntax Restrictions
- PARTITION syntax is not supported.
- If an auto-increment table has no ID, you can insert a data record with a specified ID using REPLACE, but no ID is generated.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.