We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
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.