Error: Msg 102, Level 15, State 1, Line 279 Incorrect syntax near \'WHERE\'.
SELECT * FROM LocationResults WHERE RowNumber BETWEEN(\'+@PageIndex+\' -1) * \'