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!

insert into table using with clause and select ???

645300Mar 8 2010 — edited Mar 9 2010
Hello gurus,

Can i insert into a table by making use of with clause and select ??

something similar to this ...
     insert into test_table
      (with abc as 
          (select * from emp_tble
           where dept_no = 10
           )
         select * from abc;
   );          

     if not i would i do by making use of  with clause & select ... any example would be great !!


  
Thank you so much!!!
This post has been answered by MichaelS on Mar 8 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 6 2010
Added on Mar 8 2010
4 comments
5,718 views