Insert…on duplicate key update in MySql is not a sql standard. Can we treat this statement as atomic?
Is there any equivalent statements in other databases especially ParAccel?
If no,considering atomic or performance,how to design the statement by using sql92 sql99 or other standards?
Insert…on duplicate key update in MySql is not a sql standard. Can we treat
Share
The close equivalent in Standard SQL is
MERGE, introduced in SQL-99 and altered slightly in SQL:2003.MERGEis widely supported e.g. SQL Server 2008, Oracle 9, PostgreSQL, etc.