Solved

single quote

Posted on 2014-10-03
1
132 Views
Last Modified: 2014-10-03
I tried to update this and it does not like single quotes. What should I do?

 UPDATE    mytable SET  custname = 'ST VINCENTS school'
              WHERE     (custname LIKE '%ST VINCENT'S school%')
0
Comment
Question by:VBdotnet2005
1 Comment
 
LVL 65

Accepted Solution

by:
Jim Horn earned 500 total points
ID: 40360181
Use a double-quote in place of the single..
UPDATE    mytable 
SET  custname = 'ST VINCENTS school'
WHERE     (custname LIKE '%ST VINCENT''S school%')

Open in new window

0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

828 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