SyntaxFix
Write A Post
Hire A Developer
Questions
The Complete thing
DECLARE @v varchar(10) SET @v='#temp' select STUFF(@v, 1, 1, '') WHERE LEFT(@v,1)='#'