#table (1)

오늘은 테이블 명 변경하는 법에 대해서 알아보도록 하겠습니다.


테이블 명을 변경할 때는 아래처럼 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.