misdevelopers
asked on
Remove a string in a text field
In a stored procedure, How can I remove a text string in a text field.
say:
Textfield = 'Something ABCSomething else'
I want to remove the 'ABC' from the text field,
so that when I am done,
Texfield = 'Something Something else'
Thanks in Advance,
say:
Textfield = 'Something ABCSomething else'
I want to remove the 'ABC' from the text field,
so that when I am done,
Texfield = 'Something Something else'
Thanks in Advance,
select replace(columnname, 'string', 'withstrng')
ASKER
Hello,
Thank you for the suggestion.
When I tried it, I got:
Argument data type text is invalid for argument 1 of replace function.
The field is defined as a data type of text.
Thank you for the suggestion.
When I tried it, I got:
Argument data type text is invalid for argument 1 of replace function.
The field is defined as a data type of text.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.