I have tried running replace Function for long query probably length greater than 4000, the function returns an error of
ORA-01704:String literal too long.
Is there any other alternative of using Replace function to replace a character in Oracle SQL?
Query:
Select REPLACE('VERY_LONG_QUERY','''','''''') FROM DUAL;