Solved

Oracle sql

Posted on 2011-09-13
2
313 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 74

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

Suggested Solutions

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

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