anchor.diff:      io:format(user, "Cmd ~p~n", [Cmd]),
       {MPort, "{\"rows\":[]}"}.
   
  +prepare_json_rows(Cmd, -2, Statement, StmtKey, SrvPid) ->
  +    {Rows, Status, CacheSize} = apply(Statement, next_rows, []),
  +    case Status of
  +        more -> prepare_json_rows(Cmd, -2, Statement, StmtKey, SrvPid);
  +        _ ->
  +            if length(Rows) > 0 -> dderl_session:log(SrvPid, "[~p] next_rows end table ~p~n", [StmtKey, length(Rows)]); true -> ok end,
  +            process_data(Rows, Status, CacheSize)
  +    end;
   prepare_json_rows(C, RowNum, Statement, StmtKey, SrvPid) when RowNum >= 0, is_atom(C) ->
       {Rows, Status, CacheSize} = apply(Statement, rows_from, [RowNum]),
       if length(Rows) > 0 -> dderl_session:log(SrvPid, "[~p] rows_from rows ~p starting ~p~n", [StmtKey, length(Rows), RowNum]); true -> ok end,
  
positive.code:     imem_if:insert_into_table(common, {?MODULE, [
                  #file{name="Users.sql",
                        content="SELECT USERNAME FROM ALL_USERS",
                        posX=0, posY=20, width=200, height=500}
                , #file{name="Tables.sql",
                        %content="SELECT OWNER, TABLE_NAME FROM ALL_TABLES WHERE OWNER=user ORDER BY TABLE_NAME",
                        content="SELECT OWNER, TABLE_NAME FROM ALL_TABLES ORDER BY TABLE_NAME",
                        posX=0, posY=20, width=200, height=500}
                , #file{name="Views.sql",
                        %content="SELECT OWNER, VIEW_NAME FROM ALL_VIEWS WHERE OWNER=user ORDER BY VIEW_NAME",
                        content="SELECT DISTINCT OWNER, VIEW_NAME  FROM ALL_VIEWS ORDER BY VIEW_NAME",
                        posX=0, posY=20, width=200, height=500}
              ]}).
  
  process_cmd({"connect", BodyJson}, SrvPid, _) ->
  
negative.code:     %{ok, [ParseTree|_]} = sql_parse:parse(Tokens),
      ParseTree = [],
      dderl_session:log(SrvPid, "[~p] Query ~p~n", [SrvPid, {Session, Query}]),
      case Session:execute_sql(Query, [], ?DEFAULT_ROW_SIZE, true) of
          {statement, Statement} ->
              {ok, Clms} = Statement:get_columns(),
  