File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -707,23 +707,6 @@ WHEN NOT MATCHED THEN
707707</programlisting>
708708 </para>
709709
710- <para>
711- Notice that this would be exactly equivalent to the following
712- statement because the <literal>MATCHED</literal> result does not change
713- during execution.
714-
715- <programlisting>
716- MERGE INTO customer_account ca
717- USING (SELECT customer_id, transaction_value FROM recent_transactions) AS t
718- ON t.customer_id = ca.customer_id
719- WHEN MATCHED THEN
720- UPDATE SET balance = balance + transaction_value
721- WHEN NOT MATCHED THEN
722- INSERT (customer_id, balance)
723- VALUES (t.customer_id, t.transaction_value);
724- </programlisting>
725- </para>
726-
727710 <para>
728711 Attempt to insert a new stock item along with the quantity of stock. If
729712 the item already exists, instead update the stock count of the existing
You can’t perform that action at this time.
0 commit comments