반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
Tags
- PANDAS
- gas
- c#
- Mac
- Google Excel
- numpy
- math
- string
- 파이썬
- django
- Excel
- matplotlib
- PySpark
- array
- Github
- PostgreSQL
- Kotlin
- Google Spreadsheet
- GIT
- Apache
- Redshift
- google apps script
- list
- Python
- Tkinter
- hive
- SQL
- dataframe
- Java
Archives
- Today
- Total
목록alter table rename to (1)
달나라 노트
Redshift : alter table ~ rename to ~ (table 이름 변경, table 명 바꾸기)
alter table ~ rename to ~ 구문을 사용하면 table의 이름을 바꿀 수 있습니다. Syntax alter table (original_table_name) rename to (new_table_name) (original_table_name) = 기존 테이블 이름입니다. schema와 table 이름 모두를 적어야합니다. (new_table_name) = 새로운 테이블 이름입니다. schema 이름은 생략하고 table 이름만 적어야 합니다. alter table test_schema.first_table rename to second_table ; 현재 test_schema.first_table이라는 테이블이 있다고 가정해봅시다. 그리고 이 table의 이름을 test_schema...
SQL/Redshift
2022. 10. 19. 19:23