SQL TRIM WITESPACE

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