sql中替换换行符和空格的示例

select DiscussID,L.Name as LocationName , C.Name as ClientName, REPLACE(BrandName,' ','') BrandName ,ClientContactName,ClientContactPost,CooperationIntention+M.MasterDataName CooperationIntention,U.UserName DiscussPeople,CONVERT(nvarchar(20), DiscussDate,20) AS DiscussDate,
REPLACE(DiscussContent,'
',' ') DiscussContent from
 SG_Discuss D with(nolock)

posted @ 2018-09-29 15:12  何以平天下  阅读(2322)  评论(0编辑  收藏  举报