Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB SQL » View Thread |
Messages 1 to 4 of 4 total |
How to replace ' by sql |
Tue, Nov 11 2008 10:28 AM | Permanent Link |
"Uli Becker" | I have to replace ' by an empty string in a table:
update dta set musiker = replace(' with '' in musiker); does not work. Thanks Uli |
Tue, Nov 11 2008 10:32 AM | Permanent Link |
Fernando Dias Team Elevate | Uli,
> update dta set musiker = replace(' with '' in musiker); update dta set musiker = replace('''' with '' in musiker); -- Fernando Dias [Team Elevate] |
Tue, Nov 11 2008 10:36 AM | Permanent Link |
Fernando Dias Team Elevate | PS:
I assumed you want to replace a single quote with an empty string. If that's not the case and what you want is to replace a single quote with 2 single quotes then : update dta set musiker = replace('''' with '''''' in musiker); -- Fernando Dias [Team Elevate] |
Tue, Nov 11 2008 12:46 PM | Permanent Link |
UliBecker | Fernando,
<< update dta set musiker = replace('''' with '' in musiker); >> Thanks. That's it. Uli |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |