Tag Archives: into

UPSERT

維基百科對 UPSERT 的說明:(取自「Merge (SQL)」條目) A relational database management system uses SQL MERGE (also called upsert) statements to INSERT new records or UPDATE existing records depending on whether or not a condition matches. 在 MySQL 裡的兩種語法其實就是在實做這個需求: REPLACE INTO ... INSERT INTO … Continue reading

Posted in Computer, Database, Murmuring, MySQL, PostgreSQL, Software | Tagged , , , , , , , , , , , , | Leave a comment