Solved

Oracle sql

Posted on 2011-09-13
2
311 Views
Last Modified: 2012-05-12
I am running a comma delimited extract in Oracle using sql.  Some of the data has double quotes or single quotes and i do not want those to show up in the extract.  How do i ask Oracle to pull the text with out the quote.  Here is an example of the data in the DESCRIPTION field:

DESCRIPTION
Run Off Election for '8/2/2011 - Primary Election'
0
Comment
Question by:restockett
2 Comments
 
LVL 73

Accepted Solution

by:
sdstuber earned 250 total points
ID: 36532744



select replace(description,'''') from your_table


that's 4 single quotes
0
 

Author Closing Comment

by:restockett
ID: 36532781
That works!!!!What can i say but thinks
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

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
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.

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now