0
(click on this box to dismiss)
How many records are affected after REPLACE query is executed?
When REPLACE query is executed in CUBRID how many records are affected?
1
Answer
1
The REPLACE statement first deletes all matching records, if they violate PRIMARY KEY or UNIQUE constraints, and then inserts the new record. Thus this function returns the number of deleted records + the number of inserted records.
asked last year
viewed 593 times