KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have this function in SQL Server to replace single quotes. But when I insert a single quote it throws an error on Replace(@strip,''','')) : Create Function [dbo].[fn_stripsingleQuote] (@strStrip varchar(Max)) returns varchar as begin declare @CleanString varchar(Max) SET @var=(Replace(@strip,'','')) return @var end
Tags (comma-separated)
Save Edits
Cancel