CREATE OR REPLACE FUNCTION x_rep (p_string IN VARCHAR2) RETURN VARCHAR2 IS v_string VARCHAR2 (4000); BEGIN v_string := REPLACE (TRANSLATE (p_string, 'x' || CHR (10) || CHR (13), 'x'), ';', '/' ); RETURN v_string; EXCEPTION WHEN OTHERS THEN RETURN NULL; END x_rep; /
No comments:
Post a Comment