I have some sql code (I did not write it) that uses negative argument values in the left function. But when I run the code I get an error. Like this:
Code: Select all
dbadmin=> select left('The small pig', -3);
ERROR 4039: Negative substring length not allowed
Thanks!