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 |
|
yosiasz
Master Smack Fu Yak Hacker
1635 Posts |
Posted - 2011-11-09 : 16:18:40
|
| GreetingsI would like to carve up 323260 rows in groups of 50,000 in order to generate sitemap xmls for our web site (50,000 is the limit for sitemaps)ROW_NUMBER() OVER(ORDER BY SiteMapUrl DESC) AS 'Row Number' gives me dynamic row numbers. Next I want to use NTILE but am not sure how to go about using this lovely function.If you don't have the passion to help people, you have no passion |
|
|
X002548
Not Just a Number
15586 Posts |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
|
|
|
|
|