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.
| Author |
Topic |
|
sqlkid
Starting Member
41 Posts |
Posted - 2012-03-07 : 06:23:12
|
I have data similar to what is attached with a column for 'count'. I need to create a new table or replace the existing table where the row gets repeated "n" times where n is the count in the original table. I am using SQL 2000 - what command can I give to get the required output.[URL=http://imageshack.us/photo/my-images/3/dataformat.png/] [/URL]Uploaded with [URL=http://imageshack.us]ImageShack.us[/URL] |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
|
|
|
|
|