오늘은 테이블 명 변경하는 법에 대해서 알아보도록 하겠습니다.
테이블 명을 변경할 때는 아래처럼 rename 명령어를 사용합니다.
Use rename command to rename a table to a new one.
SQL > rename {old table name} to {new table name}
Table renamed.
변경이 완료되었는지 아래쿼리를 이용해서 확인해보세요.
Check if renaming was successful using below query. Below statement queries the table names owned by you.
SQL > select table_name from user_tables;
You would see renamed table name if it was successful.
[오라클/oracle11g] dump 함수 (0) | 2015.04.20 |
---|---|
[오라클/oracle11g] 인코딩 문제 (0) | 2015.04.20 |
테이블 제약사항 조회하기 ( Querying constraints of a table ) (0) | 2015.04.14 |
Rename을 이용한 테이블 백업 ( Table Backup using Renaming ) (0) | 2015.04.14 |
인덱스 목록 조회 ( Querying Index List ) (0) | 2015.04.14 |