Advertisement
Guest User

Untitled

a guest
May 27th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 0.20 KB | None | 0 0
  1. DELIMITER $$
  2. create procedure bonus_discount(in att INT,in att2 int)
  3. begin
  4. declare i int ;
  5. set i=att;
  6. myloop: REPEAT
  7.  
  8. call checkprocedure(i);
  9. SET i=i-1;
  10. UNTIL i < att2
  11.  
  12. END REPEAT myloop;
  13.  
  14. END $$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement