Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.
CREATE OR REPLACE PACKAGE BODY MYPKG IS PROCEDURE LOAD_AA_DATA AS DECLARE TOT_ROWS NUMBER; BEGIN DECLARE TOT_ROWS NUMBER; SELECT COUNT(*) INTO TOT_ROWS FROM MYTAB; IF TOT_ROWS > 399000 THEN ( DELETE FROM MYTAB; INSERT INTO MYTAB SELECT * FROM other_schema.MYTAB; COMMIT; ) END IF; END; END;
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.