SQL TRIM WHITESPACE

update table set CompanyName = LTRIM(RTRIM(CompanyName))
Ashamed Addax