How to fix the Oracle error PLS-00122: string as separator is allowed only with specific built-in functions?

In this post, you’ll learn more about the Oracle ErrorPLS-00122: string as separator is allowed only with specific built-in functions with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PLS-00122: string as separator is allowed only with specific built-in functions

Reason for the Error PLS-00122: string as separator is allowed only with specific built-in functions

A few built-in functions use keywords (instead of commas) as argument separators: Built-in function Argument separators ——————————————— CHR, TRANSLATE USING CAST AS TRIM TRAILING, LEADING, BOTH, FROM A function different from one of these built-in functions is using a keyword as an argument separator.

How to fix the Error PLS-00122: string as separator is allowed only with specific built-in functions ?

You can fix this error in Oracle by following the below steps

Correct the argument list or change the function name.

Tags :

Leave Your Comment