I have a table in a SQL Server 2008 database. This table has a nvarchar(256) column called \'Name\'. Unfortunately, the values in this field have extra spaces included. For
The true Answer is Edit Column to NVARCHAR and you found Automatically trim Execute but this code
UPDATE Table
SET Name = RTRIM(LTRIM(Name))
use it only with Nvarchar if use it with CHAR or NCHAR it will not work