~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
MySQL Supported Hack / almost 2 years ago
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-

From the official MySQL documentation comes perhaps the highest combination of software-project-respectability and ugliness-of-officially-recommended-hack that I’ve yet encountered:

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. This statement retrieves all rows from the 96th row to the last:

SELECT * FROM tbl LIMIT 95,18446744073709551615;

--------------------
:::Comments:::

\__________ fooledbyprimes -- almost 2 years ago __________/
select 'world' as 'hello' // better known as the 'hello world' progam with the new line wrap feature
--------------------
\__________ Me -- almost 2 years ago __________/
And some pretty rectangles
--------------------
\__________ stephen -- over 1 year ago __________/
Just some random large number, like 2^64 - 1, which every computer scientist of course has memorized.
--------------------
(New comment)