i know there is no limit x,y
in sqlserver instead of it i use:
select ROW_NUMBER(),name OVER (ORDER BY name) AS
myrow from pack where myrow > 5 and myrow < 10
but it has following error:
Msg 207, Level 16, State 1, Line 1
Invalid column name 'myrow'.
Msg 207, Level 16, State 1, Line 1
Invalid column name 'myrow'.
any idea?
Edit
i saw What is the Equivalent syntax of mysql " LIMIT " clause in SQL Server but it didn't solve my problem.