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.
jasonsy Starting Member
11 Posts
khtan In (Som, Ni, Yak)
17689 Posts
select stuff(stuff('51000012', 3, 0, '-'), 9, 0, '-')
madhivanan Premature Yak Congratulator
22864 Posts
quote:Originally posted by jasonsyhow can i change the format from 51000012 to 51-00001-2?thanks
SQLTeam.com Articles via RSS
SQLTeam.com Weblog via RSS
- Advertisement -
Articles
Forums
Blogs
Contact Us
About the Site