티스토리 뷰
1. listener 를 통해 접속가능한 connect string 이 있어야 함
SQL> copy
usage: COPY FROM <db> TO <db> <opt> <table> { (<cols>) } USING <sel>
<db> : database string, e.g., hr/your_password@d:chicago-mktg
<opt> : ONE of the keywords: APPEND, CREATE, INSERT or REPLACE
<table>: name of the destination table
<cols> : a comma-separated list of destination column aliases
<sel> : any valid SQL SELECT statement
A missing FROM or TO clause uses the current SQL*Plus connection.
참조.
http://orcl.tistory.com/entry/LONG-type%EC%9D%B4-%EC%9E%88%EB%8A%94-table-copy-%EB%B0%A9%EB%B2%95
2.원본 table(le)의 column 확인
3. 원본 table과 같은 구조를 갖는 table (le2)를 빈 껍데기만 생성
4. 아래와 같은 방법으로 table copy 수행
copy from scott/tiger@remote to scott/tiger@local append le2 using select * from le;
5.copy 된 table (le2)를 query 해서 결과 확인
SQL> copy
usage: COPY FROM <db> TO <db> <opt> <table> { (<cols>) } USING <sel>
<db> : database string, e.g., hr/your_password@d:chicago-mktg
<opt> : ONE of the keywords: APPEND, CREATE, INSERT or REPLACE
<table>: name of the destination table
<cols> : a comma-separated list of destination column aliases
<sel> : any valid SQL SELECT statement
A missing FROM or TO clause uses the current SQL*Plus connection.
참조.
http://orcl.tistory.com/entry/LONG-type%EC%9D%B4-%EC%9E%88%EB%8A%94-table-copy-%EB%B0%A9%EB%B2%95
'데이터베이스 > 오라클' 카테고리의 다른 글
9i, 10g cbo 옵티마이저 사용시 주의 사항 (0) | 2008.02.11 |
---|---|
대용량 데이터 혹은 테이블시 고려해볼 사항 (0) | 2008.01.24 |
오라클 DEPENDANCY CHECK SQL (0) | 2008.01.22 |
오라클 DB 오브젝트 현황표 만들기 (0) | 2008.01.22 |
DBA 는 얼마나 시간을 쓰나?(오라클 PT자료 중에서..) (0) | 2008.01.20 |
Using Oracle DDL Triggers (0) | 2008.01.16 |
오라클 DDL 모니터링 오라클 시스템 트리거 이용 (0) | 2008.01.16 |
오라클 DBA VIEW (0) | 2008.01.15 |
insert 문에 values 안에 select 문이 들어 간다? (0) | 2008.01.15 |
오라클 오브젝트 사용 현황 (0) | 2008.01.10 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 구글
- 브레인피드백
- 디자인패턴
- auto increment
- 프로젝트
- ChatGPT
- 커뮤니케이션의 7가지 나쁜 습관들
- 꿈
- 아웃라이어
- 바이오해킹
- 데이터과학
- shared everything
- shared all
- 일본전산
- oracle
- 성공의길
- 셀프 조인
- DB
- 카이에 소바주 시리즈
- 습관의힘
- NHN 면접
- 오라클
- 구조주의 인류학
- 퇴사
- 큐브리드
- 튜닝
- Datapump
- getGeneratedKeys
- CUBRID
- 다짐
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함