How to fix the Oracle error ORA-30000: missing either trim specification or char expression in TRIM?

In this post, you’ll learn more about the Oracle ErrorORA-30000: missing either trim specification or char expression in TRIM with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-30000: missing either trim specification or char expression in TRIM

Reason for the Error ORA-30000: missing either trim specification or char expression in TRIM

Since FROM is specified in TRIM function, either trim specification (TRAILING, HEADING, BOTH) or trim character or both must be specified.

How to fix the Error ORA-30000: missing either trim specification or char expression in TRIM ?

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

Add either trim specification (TRAILING, HEADING, BOTH) or trim character or both.

Tags :

Leave Your Comment