We have to remove certain characters from VARCHAR2 and CLOB data types using SQL or PL/SQL and load into destination tables.
There are functions available in Oracle ( e.g REGEXP_REPLACE or SUBSTR ) which can be used.
However, we have large amount of data.
Will it be faster if we extract the data into Linux host and use a combination of TR ( /bin/tr ) and Oracle External Files ?
REPLACE(not any regular expression functions; as toSUBSTR, I don't see how you would use it for this task). I don't think anything you can do will be faster than usingREPLACEin the database. Same thing if you need to translate rather than remove; you can use theTRANSLATEfunction in the database.