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.
jooorj Posting Yak Master
126 Posts
sunitabeck Master Smack Fu Yak Hacker
5155 Posts
declare @var varchar(32);set @var = '42001230';select stuff(@var,7,0,'-');select stuff(stuff(@var,7,0,'-'),6,0,'-');select stuff(stuff(stuff(@var,7,0,'-'),6,0,'-'),5,0,'-');
youky Starting Member
5 Posts
tkizer Almighty SQL Goddess
38200 Posts
madhivanan Premature Yak Congratulator
22864 Posts
quote:Originally posted by jooorjvery hard, is there any other simple way ?
SQLTeam.com Articles via RSS
SQLTeam.com Weblog via RSS
- Advertisement -
Articles
Forums
Blogs
Contact Us
About the Site