• Good question about a very useful feature that a lot of people do not appear to know about. You can also use the OUTPUT clause with the MERGE command too. It's especially useful when you need to know a range of values that were inserted so that you have the newly generated keys in order to also insert data into detail tables below the insert.