Loop through pre defined values

后端 未结 0 1070
说谎
说谎 2021-02-11 21:36

Is there a way to do a \"for each\" in oracle, something like this:

begin
  for VAR in {1,2,5}
  loop
    dbms_output.put_line(\'The value: \'||VAR);
  end loop;         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题