﻿-- =============================================
-- Author:		<Author,,Name>
-- Create date: <Create Date, ,>
-- Description:	<Description, ,>
-- =============================================
CREATE FUNCTION [dbo].[ott_quote_255]
(
	@txt as nvarchar(255)
)
RETURNS nvarchar(255)
AS
BEGIN
	DECLARE @res nvarchar(255);

	SET @res = CHAR(34) + REPLACE(ISNULL(@txt,''), CHAR(34), CHAR(34) + CHAR(34)) + CHAR(34);

	RETURN @res;

END