In PHP I'm doing a SQL Server query where I need (LIMIT) type functionality. I already know that TOP is typically used in SQL Server instead of LIMIT (which is MySQL syntax). However, TOP doesn't allow you to set on 'offset' the way LIMIT does. In my query, I will need the 'offset' and 'number of rows' to be dynamic. Example:
LIMIT $startRow, $maxRow
Any thought, or suggestions?