stored procedures - Condional looping in mysql -


inside MySQL I've written a process, where I want to run a loop like this:

  Do (Condoms) ... (Body 1) ... if (Condition 2) will continue; ... (body 2) ... in the end;  

While under the loop I want to run the Full body where condition 2 is not completed (i.e. body1 and body2).

At present, when condition 2 is found, it only executes body 1 and then continues (while in the check canand continue loading).

Can you help in the appropriate syntax to perform the above?

  get started when call cond1 body1; If (not cond2) then call body 2; end if; In the end; End;  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -