Your technology certification is waiting. Enroll in Cloud Class ®
-- One time:
CREATE TABLE stage1 AS (SELECT * FROM source_table) DEFINITION ONLY;
-- Empty the staging table
ALTER TABLE stage1 ACTIVATE NOT LOGGED INITIALLY WITH EMPTY TABLE;
-- Insert the new rows
ALTER TABLE stage1 ACTIVATE NOT LOGGED INITIALLY;
INSERT INTO stage1
-- Copy the rows to the target table
INSERT INTO target
SELECT * FROM stage1
Open in new window
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.