dynamic query for openedge

Discussão em 'StackOverflow' iniciado por fdantas, Agosto 23, 2017.

  1. fdantas

    fdantas Administrator Moderador

    Good day:

    quick question, can I perform a dynamic query in openedge?

    example:

    def temp-table tt-num1
    field f1 as int
    field f2 as int.

    def temp-table tt-num2
    field f1 as int
    field f2 as int.

    def temp-table tt-num3
    field f1 as int
    field f2 as int.


    what i need would be to look something like this:

    procedure repeat-query:
    for each 'variable that contains table-name' no-lock.

    disp f1 f2.

    end.
    end procedure.


    or other ways that can solve my problem

    how do i proceed for this? i tried to check dynamic query found in the internet but to no luck. thanks in advance.

    Continue reading...

Compartilhe esta Página