November 21, 2013
How to remove last character in the string , 3 smart ways to handle it
1)
declare @string varchar(100)='ab,cd,ef,'
set @string= reverse (stuff(reverse(@string), 1, 1, ''))
print @string
2) declare @string...
test
Hello, my name is Jack Sparrow. I'm a 50 year old self-employed Pirate from the Caribbean.
Learn More →