Sql Server 去空格

ltrim(rtrim(REPLACE(OrderNumber, ' ', '')))

去掉数据中间与首尾的空格

猜你喜欢

转载自www.cnblogs.com/Anthony518/p/11448409.html
今日推荐