How to trim a string in SQL Server before 2017?

后端 未结 7 1606
心在旅途
心在旅途 2020-12-04 17:25

In SQL Server 2017, you can use this syntax, but not in earlier versions:

SELECT Name = TRIM(Name) FROM dbo.Customer;
7条回答
提交回复
热议问题