250x250
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 |
Tags
- 코딩테스트
- 리눅스
- hadoop
- 데이터베이스
- sql자격증
- mysql
- 클라우드컴퓨팅
- MFA
- AWS자격증
- 빅데이터실무자격증
- EC2
- 파이썬
- 클라우데라자격증
- RDBMS
- 클라우드자격증
- AWSCloudPractitioner
- SQL
- programmers
- Identity and access management
- hive
- IAM
- 프로그래머스
- SQLD
- 하둡
- 쉘스크립트
- CCAAdministrator
- CCA131
- 빅데이터
- CLF-01
- Multi Factor Authentication
Archives
- Today
- Total
목록alter (1)
Sherry IT Blog
알아두면 유용한 Hive alter문
-- 1.컬럼변경 alter table 테이블명 change [old_column] [new_column] new_column_type -- 2.컬럼추가 alter table 테이블명 add columns([new_column] [new_column_type] comment [comment_name]) --(comment 생략가능) -- 3. 컬럼삭제 alter table 컬럼명 replace colums(남겨둘컬럼 컬럼타입,남겨둘컬럼2 컬럼타입2 .......) (컬럼갯수가 많다면 create 가 더 효율적일 수 있음) -- 4.테이블명 변경 alter table 테이블명 rename to 새테이블명 -- 5.테이블 코멘트 추가하기 alter table 테이블명 set tblproperties('com..
BIgData
2021. 2. 2. 16:39