SQL> SELECT REPLACE ('This is a test','AAAA',' may be ')FROM dual; REPLACE('THISI -------------- This is a test SQL>