2

Is there any way to use OFFSET without LIMIT in mysql? I tried many ways and many times. I also searched a lot.

padippist
  • 932
  • 13
  • 29
  • Check this [**ANSWER**](http://stackoverflow.com/questions/15950871/select-all-records-using-mysql-limit-and-offset-query) – 1000111 Mar 24 '16 at 09:53
  • You should ask what you really want to accomplish, rather than trying to bend mysql syntax to your needs. Offset must be used in conjunction with limit. – Shadow Mar 24 '16 at 09:54

1 Answers1

2

No there is no way. You need to provide the LIMIT.

Then manual says:

To retrieve all rows from a certain offset up to the end of the result set, you can use some large number for the second parameter.

Rahul Tripathi
  • 152,732
  • 28
  • 233
  • 299