Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

FOR Loop throws ORA-00933

Abhishek_HJun 3 2013 — edited Jun 3 2013
BEGIN
FOR part IN ( select PARTITION_NAME from all_tab_partitions where table_name = 'TEMP123' )
LOOP
INSERT into TEMP234 SELECT * from TEMP123 PARTITION ( part.PARTITION_NAME ) ;
END LOOP;
END;

What is wrong here?
Thanks.

Edited by: Abhishek_H on Jun 2, 2013 11:29 PM
This post has been answered by jeneesh on Jun 3 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 1 2013
Added on Jun 3 2013
8 comments
319 views