Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      In the ORACLE-Mode, the ROWNUM-Variable doesn't work.

      e.g:

      select rownum, table_schema, table_name from information_schema.tables;
      

      I get the errror:
      ERROR 1054 (42S22): Unknown column 'rownum' in 'field list'

      One possible solution would be eg:

      select cast(@rn := @rn+1 as integer) as ROWNUM
            ,table_schema, table_name
        from information_schema.tables, (select @rn:=0) as r1;
      

        Attachments

          Activity

            People

            • Assignee:
              bar Alexander Barkov
              Reporter:
              wodrsoftware Wolfgang Draxler
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: