![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
![]() |

|
| Programming Error ! Programming error messages |
![]() |
|
Find and replace single quotes in a sql query
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Administrator
Posts: 18,695
Join Date: Jan 2006
Rep Power: 10
IM:
|
such as: select * from database where field like '%''%' which of course wont work. I also want to replace these quotes with nothing so using the example above it would be new''car replace with newcar. |
|
|
|
|
|
|
|
|
#2 (permalink) |
|
Administrator
Posts: 18,695
Join Date: Jan 2006
Rep Power: 10
IM:
|
should work correctly. assuming that it is indeed a single quote, and not a backquote ` or other character ? or double quote " in there... |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|