IT 전용글/Oracle

manipulating Large data sets 2009 02 15 주말 수업.

회상형인간 2009. 2. 15. 15:09
1. insert into d1 select  * from dept  deptno<30;
2. insert into d2 select * from dept ;



d1 , d2 테이블을 dept 에서 땡겨온후에



3.

insert all 
when deptno <30
   then d1
when deptno >10
  then d2
select * from dept;


4. insert all into d1 , into d2  select * from dept;

5. insert first
  when deptno<30 then
    into d1
  when deptno >10 then
    into d2
select * from dept;



요로코롬 실행 시켜보삼. ㅡㅡ;;;

'IT 전용글 > Oracle' 카테고리의 다른 글

아리까리한 쿼리문 이걸로.  (0) 2014.10.13
2009 02 21 주말.ORACLE  (0) 2009.02.21
2009 02 15 Externel SQL 연습..  (0) 2009.02.15
2009 02 15 주말 ~  (0) 2009.02.15
ORA-27101: shared memory realm does not exist  (0) 2009.02.15