use only standard firebird 2.x ROWS x TO y syntax