Home > database > Oracle and the inclusions and the circulation, with the data. Every time the execution result is dif
Oracle and the inclusions and the circulation, with the data. Every time the execution result is dif
Time:09-26
Same inclusions, Oracle, circulation field, data is the same, Inclusions in nine process, both to perform Inclusions separate out perform data no problem one day, it's no problem for me to put in the loop execution for a few days But perform two months of data is part of the number of days before the meeting is no problem, the nine processes are executed; At the back of the data is executed only eight, seven, five process, finally all become only perform And this part number is not fixed, Perform error behind those days alone perform the same inclusions can perform nine process, and the data is correct,
Consult a great god ever met, how to deal with,,,
CodePudding user response:
1. Why do you need to cycle? Estimation problem is in the loop, Part 2. The cycle can post code?
CodePudding user response:
Declare ='20170901' n varchar2 (10) : The begin For I in 1.. 60 loop Cims_ic. P_shjfsc (' 31102 ', n); N:=to_char (to_date (n, 'yyyymmdd') + 1, 'yyyymmdd'); End loop; The end;
The problem is that the cycle I run 10 times no problem, run 2 times is no problem, I ran 60 times 20 times before all is right,