SyntaxFix
Write A Post
Hire A Developer
Questions
Try It :
DECLARE @String NVARCHAR(100) SET @String = '12354851' SELECT LEFT(@String, NULLIF(LEN(@String)-1,-1))