I am trying to create a procedure in DBeaver that simply fetches some values as parameters from a datatable (here named \'tempTable\') and uses them in a loop to fetch data