SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE FUNCTION [dbo].[f_defaultToString] 
(
	@defaultValue VARCHAR(64)
)  
RETURNS VARCHAR(64) AS  
BEGIN 
	RETURN
		REPLACE	(
			REPLACE	(
				REPLACE	(
					REPLACE	(
						@defaultValue, 
						'(''', ''), 
					''')', ''
					), 
				'(', ''
				),
			')', ''
			)
END


GO
