Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • The above-shared code does not contain any DML Statement, Looks like incomplete code. Please share the complete code. And Also What is the batch size ?! Commented Dec 22, 2020 at 17:18
  • batch size is just 10 Commented Dec 22, 2020 at 17:21
  • Seems likely artid could contain null and lead to this issue. Note also that it is not necessary to check for null before performing DML. Commented Dec 30, 2020 at 15:22