Apache Derby DB Error Code 22011 – The second or third argument of the SUBSTR function is out o

In this blog post, let’s learn about the error message “22011- The second or third argument of the SUBSTR function is out o” in Apache Derby Database and the description of the error.

Error Message

22011- The second or third argument of the SUBSTR function is out o

Error Details

The second or third argument of the SUBSTR function is out of range.