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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Returning results Modulo 100 (for efficiency)

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-08-12 : 23:47:17
James writes "We need to return every hundredth element without augmenting the schema of a table. so if the table has a thousand rows we want a query that returns a result set of size 11 containing the 1,100,200,300,400,500,600,700,800,900,1000 in that order. Not using any inherent characteristics of the table (a particular column, say) is this possible?

Thanks much, Jim"
   

- Advertisement -