Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 starting Comma remove from a string

Author  Topic 

aoriju
Posting Yak Master

156 Posts

Posted - 2012-03-15 : 09:20:46
Hi Team,


I have a vraible and that value contains ',33,44,444,42'
i want to remove that first comma

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2012-03-15 : 09:26:32
You can solve the problem when the variable is getting the values or you can do:
stuff(variable,1,1,'')


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -