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.
Harhour Starting Member
3 Posts
vaibhavktiwari83 Aged Yak Warrior
843 Posts
SELECT 'Qty_wk' + CONVERT(VARCHAR(10), ROW_NUMBER() OVER( ORDER BY (SELECT 1)) ) + ' = ' + CONVERT(VARCHAR(10), ROW_NUMBER() OVER( ORDER BY (SELECT 1)) )+ ' its IDWK = ' + CONVERT(VARCHAR(10), IDWK)FROM <Your Table>
SQLTeam.com Articles via RSS
SQLTeam.com Weblog via RSS
- Advertisement -
Articles
Forums
Blogs
Contact Us
About the Site