Count of MERGE INTO UPDATE

0

Hi, I'm using MERGE INTO with UPDATE on top of ICEBERG. For example MERGE INTO accounts t USING monthly_accounts_update s ON (t.customer = s.customer) WHEN MATCHED THEN UPDATE SET purchases = s.purchases + t.purchases

I would like to know how many records were updated during this query. I see query result doesn't return this number.

Any option to get the number of updated rows?

Thank you

moshe
gefragt vor 5 Monaten148 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen