troubleshooting Question

merge - skip update if records > X

Avatar of mgferg
mgferg asked on
Oracle Database
2 Comments1 Solution466 ViewsLast Modified:
H All,

I'm doing a merge update/insert but want to verify that a condition doesn't exist before doing so i.e. the number of rows does not exceed a number e.g. 1000

so -
If the number of entries that will be updated/inserted from table a to table > 1000 send a specific message to the output

Some suggestions on best way to do this would be appreciated.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros