`WHERE $dbIdCol = :id` part is not needed and also non-standard SQL MERGE syntax. Tested with http://sqlfiddle.com/#!4/a91d6/11