update addonarticle
set
body=replace(body,substring(body,
locate
(
'<a'
,body),
locate
(
'>'
,body,
locate
(
'<a '
, body))+1-
locate
(
'<a'
,body)),
''
);
update addonarticle
set
body=replace(body,
'</a>'
,
''
);
update addonarticle
set
body=replace(body,substring(body,
locate
(
'<a'
,body),
locate
(
'>'
,body,
locate
(
'<a '
, body))+1-
locate
(
'<a'
,body)),
''
);
update addonarticle
set
body=replace(body,
'</a>'
,
''
);