반응형
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
- list
- django
- Kotlin
- math
- dataframe
- array
- Python
- PANDAS
- Google Excel
- matplotlib
- Tkinter
- Google Spreadsheet
- google apps script
- string
- PySpark
- gas
- Mac
- Github
- PostgreSQL
- Java
- numpy
- GIT
- 파이썬
- Excel
- Redshift
- Apache
- SQL
- c#
- hive
Archives
- Today
- Total
달나라 노트
Presto : current_date (현재 날짜. 현재 날짜 return. Presto 현재 날짜. 오늘 날짜) 본문
SQL/Presto
Presto : current_date (현재 날짜. 현재 날짜 return. Presto 현재 날짜. 오늘 날짜)
CosmosProject 2022. 1. 14. 19:01728x90
반응형
Presto에서 현재 날짜(오늘 날짜)를 얻으려면 current_date 함수를 사용하면 됩니다.
select current_date;
-- Result
2022-01-10
728x90
반응형
'SQL > Presto' 카테고리의 다른 글
Presto : date_add() (시간 더하기, 날짜 더하기, 특정 기간 더하기) (0) | 2023.10.11 |
---|---|
Presto : date_diff() (두 시점 간의 차이 구하기, 시간 차이) (2) | 2023.10.10 |
Presto : interval (날짜 시간 더하기. 날짜 시간 빼기) (0) | 2022.01.14 |
Presto : date, timestamp (날짜 형식의 문자를 date 형식으로 변경. 날짜 형식의 문자를 timestamp 형식으로 변경.) (0) | 2022.01.14 |
Comments