database - How could I remove unnecessary characters in SQL -
I need a query that can remove unnecessary characters (for example, not necessarily a previous semia As an example) stored string in my database table.
such as
EMAIL_ADD abc@gmail.com, abc @ yahoo.com, def @ example.org, abs-def@ac.uk,Some will be updated like this:
EMAIL_ADD abc@gmail.com abc @ yahoo.com, def @ example.org abs-def@ac.uk
Remove a specific unwanted character by using the
tripling option with the TRIM () function Given the end of the string, in your case a comma is present at the end.
updated tagname SET EMAIL_ADD = TRIM (with 'training from EMAIL_ADD')
Comments
Post a Comment