Hello,
i want to figure out if the use of ECEX SQL is an alternative to our actual environment (standard use of blockfetch with restict and row selection).
is exec sql a real alternaitve to a blockfetch and how would it work?
we have to use the exec sql in a server function and in my understanding the exec sql returns all rows corresponding to the sql statement. these rows we have to fetch (fetchnext) and set into output variable. how is the handling if the number of rows exceed the number of occurrence in the variable? in my understanding we can not call the server function again because there is no "position" (=no ; 2nd Call to BlickFetch) and the sql statement returns at 2nd call the same rows...
or am i totally wrong?
best regards,
tobias