Open Source RDBMS - Seamless, Scalable, Stable and Free

English | Login |Register


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?

링크 댓글 쓰기 (0) 선택된 답변
질문시간 2년 전
eye
91
140 답변들
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.

링크 댓글 쓰기 (0)
답변시간 2년 전
dba
558




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



Internet Explorer: Mozilla Firefox: Google Chrome: