Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Find special characters in the database

Re: Find special characters in the database

From: Catherine LeBlanc <cleblan2_at_abacus.bates.edu>
Date: Wed, 21 Mar 2001 15:09:24 -0800
Message-ID: <F001.002D4063.20010321143723@fatcity.com>

If you know the character you are looking for, you can paste it into a script like the one below, to quickly fix specific tables and columns.

update table
set column_name= replace(column_name,'',null) where column_name like '%%'
/

You can use ' ' in place of null if you really want a blank in there. It may take a while to run on big tables.

Catherine A. LeBlanc, Database Analyst
Bates College

At 01:30 PM 3/20/01 -0800, you wrote:
>Can someone give me a guideline as to how I
>should draw a script to find special characters
>in the database and replace them with blanks.
>
>TIA
>
>Shakeel Qureshi
>squreshi_at_barpoint.com

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Catherine LeBlanc
  INET: cleblan2_at_abacus.bates.edu

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Mar 21 2001 - 17:09:24 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US