How to fix the Oracle error PLS-00615: type mismatch found at ‘string’ between CASE operand and WHEN operands?

In this post, you’ll learn more about the Oracle ErrorPLS-00615: type mismatch found at ‘string’ between CASE operand and WHEN operands with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PLS-00615: type mismatch found at ‘string’ between CASE operand and WHEN operands

Reason for the Error PLS-00615: type mismatch found at ‘string’ between CASE operand and WHEN operands

In a simple CASE statement or expression, the CASE operand and WHEN operands do not match in datatype, and it is unclear which implicit conversion is required to correct the mismatch.

How to fix the Error PLS-00615: type mismatch found at ‘string’ between CASE operand and WHEN operands ?

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

Change the CASE operand and WHEN operands so that their datatypes match. Consider using datatype conversion functions in the CASE operand and/or WHEN operands.

Tags :

Leave Your Comment