How to fix the Oracle error PCC-02018: found end-of-file while scanning comment?

In this post, you’ll learn more about the Oracle ErrorPCC-02018: found end-of-file while scanning comment with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PCC-02018: found end-of-file while scanning comment

Reason for the Error PCC-02018: found end-of-file while scanning comment

Cause: A C comment either in C code or in an embedded SQL statement, was not terminated.

How to fix the Error PCC-02018: found end-of-file while scanning comment ?

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

Action: Find the unterminated comment and terminate it with */ .

Tags :

Leave Your Comment