Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DELIMITER $$
- create procedure bonus_discount(in att INT,in att2 int)
- begin
- declare i int ;
- set i=att;
- myloop: REPEAT
- call checkprocedure(i);
- SET i=i-1;
- UNTIL i < att2
- END REPEAT myloop;
- END $$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement