Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

finding asci value of non printable character

Posted on 2010-11-22
3
590 Views
Last Modified: 2012-08-14
There us some sort of unprintable character at the end of several of my input recs in a varchar (30) description column. It is causing the usual mayhem by being treated as a delimeter and splitting the record. They are not the usual ascii values (I think 10 and 14) for newline and tab.  Can I dump this column to get the value.  From there I can either translate it or replace it.
0
Comment
Question by:tminelgin
  • 2
3 Comments
 
LVL 76

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 62 total points
ID: 34193488
There is a dump sql function.  Check out:
psoug.org/reference/convert_func.htm
0
 
LVL 58

Expert Comment

by:cyberkiwi
ID: 34193509
You can use the ASCII(str) function but it works on the first char in str
0
 
LVL 58

Accepted Solution

by:
cyberkiwi earned 63 total points
ID: 34193515
You can combine ascii with right, e.g.

select ascii(substr(somecol, -1,1)) from tbl
select ascii(substr(somecol, -2,1)) from tbl
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question