Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

(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?

link comment (0) accepted answer
asked 3 years ago
140 Answers

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.

link comment (0)
answered 3 years ago

You are either using a very old browser or a browser that is not supported.
In order to browse you need to have one of the following browsers:

Internet Explorer: Mozilla Firefox: Google Chrome: