Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet thread from alt.ascii-art, started 4 Apr 2006.
 _   _                     _        _             _     _           
| | | |___  ___ _ __   ___| |_     / \   _ __ ___| |__ (_)_   _____ 
| | | / __|/ _ \ '_ \ / _ \ __|   / _ \ | '__/ __| '_ \| \ \ / / _ \
| |_| \__ \  __/ | | |  __/ |_   / ___ \| | | (__| | | | |\ V /  __/
 \___/|___/\___|_| |_|\___|\__| /_/   \_\_|  \___|_| |_|_| \_/ \___|
How to replace non-ascii control characters stored in CLOB f

How to replace non-ascii control characters stored in CLOB field of Oracle 9i Database?

alt.ascii-art · 2 messages · 4 Apr 2006 - 4 Apr 2006
gan...@gmail.com 4 Apr 2006 20:12 · permalink · report
I have 250 MB of data stored in the CLOB field of a database table in
Oracle 9i database. This database is created with AL32UTF8 character
set encoding scheme.

The data inside CLOB contains approx. 14000 lines. We are reading the
CLOB data in a variable and extracting every line from the data and
applying substr function on the line to extract some data.

The data in the CLOB contains some non-ascii control characters due to
which substr function is giving problems and throwing an exception.

Is there any way to replace all the non-ascii control characters from
the CLOB data or from a line of the data stored in that field?

_.-In alt.ascii-art, gan...@gmail.com wrote the following -._
> I have 250 MB of data stored in the CLOB field of a database table in
> Oracle 9i database. This database is created with AL32UTF8 character
> set encoding scheme.
<snip>
> Is there any way to replace all the non-ascii control characters from
> the CLOB data or from a line of the data stored in that field?

Part of asking questions the smart way[0] is to ask them in the right
place.  While everyone here has ASCII experience I am sure that very
few have experience with Oracle 9i.  I would recommend asking this
question on an Oracle mailing list or a database newsgroup where
people have no doubt encountered and solved your issue before. 


[0] http://www.catb.org/~esr/faqs/smart-questions.html
-- 
  .-'))       fauxascii.com        ('-.  | It's a damn poor mind that
 ' ..-  .:" )               ( ":.  -.. ' | can only think of one way to
  ((,,_;'.;'   UIN=66618055  ';. ';_,,)) | spell a word.
        ((_.YIM=Faux_Pseudo :._))        | - Andrew Jackson

Related ASCII art in the Gallery

Explore these categories from our collection of 11,000+ artworks:

About this thread. These messages were posted publicly to the newsgroup alt.ascii-art in 2006 and are mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you one of the authors? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post