UsersTbl Structure:
id | uname
__ ____
1 | name0
2 | name1
4 | name2
1 | name3
8 | name4
5 | name5
6 | name6
which kind of query that i'm looking for:
query that selects every row between row number 2 to row number 5 (without using the id column)
example:
//start = 2
//end = 5
select * from users where rownum >= start and where rownum <= end
results should be:
name2,name3,name4,name5
syntax? (mssql ,note:i'm using classic asp (Not really matters))