Microsoft
Software
Hardware
Network
Question : Removing an apostrophe using update comand
I have some data that needs to be updated. I need to update codes that have an apostrophe, removing the apostrophe. Only problem is, SQL uses Apostrophies so my script doesnt work.
Update "Patient" set "Primary Insured Gaurantor" = 'DALES0000' where "Primary Insured Gaurantor" = "D'ALES0000" <- used quotes here just so you could see exactly what I was trying to update. I am trying to remove the apostrophe from D'ALES0000. Several others to do in several tables.
Answer : Removing an apostrophe using update comand
you need to use back-to-back apostrophes:
Update "Patient" set "Primary Insured Gaurantor" = 'DALES0000' where "Primary Insured Gaurantor" = 'D''ALES0000'
Random Solutions
How to disable reading pane and auto preview in Outlook 2003
rdp session gets disconnected when switching to outlook
How do I open a DOS Window in Home XP
Active Sync support code 86000108
Location of the Win98 SE usb drivers
How to stop Outlook from Archiving
SMTP-auth via telnet
Why does running Dual Monitor break my C# Video Application?
To covert an access report with pictures to any editable document format retaining all the graphics and other formatting settings
Paypal, country codes/names, state/provence codes/names