LIMIT is SQL implementation dependant. As long as I work with SQLServer I made this quickest fix