Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE OR REPLACE PROCEDURE P_ProductosSinDescripcion( errores OUT NUMBER) IS
- BEGIN
- UPDATE L4_PRODUCTO SET DESCRIPCION= NOMBRE WHERE DESCRIPCION IS NULL;
- errores:=SQL%ROWCOUNT;
- COMMIT;
- END P_ProductosSinDescripcion;
- SET SERVEROUTPUT ON
- DECLARE
- errores NUMBER;
- BEGIN
- P_ProductosSinDescripcion(errores);
- DBMS_OUTPUT.put_line(errores);
- END;
Advertisement
Add Comment
Please, Sign In to add comment