SQL TRIM How to Remove Unwanted Characters from a String
If you need to clean up data you can use the UPDATE statement with the TRIM function to remove all unwanted characters from the database especially the spaces For example the following statement removes all leading and trailing spaces in the first name last name email and phone number columns of the employees table