presto-sqlserver/src/main/java/io/prestosql/plugin/sqlserver/SqlServerClient.java/SqlServerClient/limitFunction
class SqlServerClient:    @Override
    protected Optional<BiFunction<String, Long, String>> limitFunction()
    {
        return Optional.of((sql, limit) -> {
            String start = "SELECT ";
            checkArgument(sql.startsWith(start));
            return "SELECT TOP " + limit + " " + sql.substring(start.length());
        });
    }