Use two single-quotesSQL> SELECT 'D''COSTA' name FROM DUAL;NAME-------D'COSTAAlternatively, use the new (10g+) quoting method:SQL> SELECT q'$D'COSTA$' NAME FROM DUAL;NAME-------D'COSTA