반응형
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
- string
- numpy
- PostgreSQL
- Java
- matplotlib
- Google Excel
- Mac
- gas
- PANDAS
- Redshift
- django
- Google Spreadsheet
- math
- dataframe
- google apps script
- Kotlin
- Apache
- 파이썬
- Excel
- Python
- c#
- PySpark
- Tkinter
- hive
- Github
- GIT
- array
- list
- SQL
Archives
- Today
- Total
달나라 노트
Hive : turncate (table data 비우기) 본문
728x90
반응형
truncate table talbe_name;
위 구문은 table_name이라는 이름의 테이블 속 데이터를 모두 삭제합니다.
(table 속 데이터만 없어지는 것이고 table 자체와 해당 table에 존재했던 컬럼들은 보존됩니다.)
728x90
반응형
'SQL > Apache Hive' 카테고리의 다른 글
Comments