Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Oracle sql

Posted on 2011-09-13
2
Medium Priority
?
321 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 1000 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.
Suggested Courses

972 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