How to fix the Oracle error ORA-19041: Comment data cannot contain two consecutive ‘-‘s?

In this post, you’ll learn more about the Oracle ErrorORA-19041: Comment data cannot contain two consecutive ‘-‘s with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-19041: Comment data cannot contain two consecutive ‘-‘s

Reason for the Error ORA-19041: Comment data cannot contain two consecutive ‘-‘s

The given comment string expression has two consecutive ‘-‘s.

How to fix the Error ORA-19041: Comment data cannot contain two consecutive ‘-‘s ?

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

Modify comment string to eliminate one or both of the consevutive ‘-‘s.

Tags :

Leave Your Comment