I've found many discussions about INSERT OR REPLACE
and I thought it was clear to me, but after reading this article saying:
The following illustrates the syntax of the REPLACE statement.
INSERT OR REPLACE INTO table(column_list) VALUES(value_list);
Or in a shorter form:
REPLACE INTO table(column_list) VALUES(value_list);
I'm afraid I missed something.
Why is the INSERT
statement needed together with REPLACE
?
Does it actually make any difference in examples like this one, for instance?