SHARE
TWEET

Untitled

a guest May 21st, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DECLARE
  2. v NUMBER := &v;
  3. x int;
  4.  
  5. BEGIN
  6. SELECT nr_exemplare INTO x
  7. FROM carti
  8. WHERE id_carte = 888;
  9. x := x / v;
  10. DBMS_OUTPUT.PUT_LINE(x);
  11. EXCEPTION WHEN ZERO_DIVIDE THEN
  12. DBMS_OUTPUT.PUT_LINE('Nu se poate impartii la 0');
  13. END;
  14. /
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top