转载

ms sql server line feed

多行文本换行:

 

SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

-- =============================================
-- Author:      Insus.NET
-- Create date: 2019-06-21
-- Update date: 2019-06-21
-- Description: 文本转换
-- =============================================
CREATE FUNCTION [dbo].[svf_LineFeed]
(    
)
RETURNS NVARCHAR(4000)
AS 
BEGIN
    RETURN CHAR(13) + CHAR(10)
END
Source Code

 

正文到此结束
本文目录