I'm having trouble removing part of a text field. When I run
I get the following error
Argument data type text is invalid for argument 1 of replace function.
I understand that this is because the field is of type 'text', but what could I use instead?
Thanks
Code:
SELECT REPLACE(journalarticle.content,'?doAsUserId=BedNOLxX0dg%253D','')
FROM journalarticle
WHERE content LIKE '%?doAsUserId=BedNOLxX0dg%253D%'
I get the following error
Argument data type text is invalid for argument 1 of replace function.
I understand that this is because the field is of type 'text', but what could I use instead?
Thanks