Author: SSWUG Research

Community

How to Do an Upsert in MySQL

(Ike Walker) The upsert (or merge) is a useful statement in SQL, but the syntax in MySQL is not self evident. If you search the MySQL manual for “upsert” you’ll probably get this page. If you search for “merge” you’ll probably get the page on index merge optimization or the merge storage engine. Non

Community

SQL Server’s MERGE Statement

(Jason Annable) This is definitely a function that DBAs and BI professionals should pay attention to. It’s a powerful command that came out in the 2008 version of SQL Server and it makes it easier to pull data from a variety of sources and fully audit everything that’s changing. I’m absolutely lovin