SELECT B.TradeOrderID AS '二段交易号',B.ZipCode AS '邮编', B.Province AS '省',B.City AS '市',B.District AS '区',B.TransportOrderCode AS '运单号',B.ExceptionFlag,
REPLACE(REPLACE(REPLACE(REPLACE(cast(B.Adrress as nvarchar(max)),CHAR(13),' '),CHAR(10),' '),CHAR(9),' '),' ',' ') AS '地址'
FROM dbo.TWX_TransportOrder B WHERE B.InterDeliveryID IN (91,98) AND B.WarehouseOutTime>='2018-03-01' AND B.ExceptionFlag IN (0)