반응형
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
- Redshift
- SQL
- gas
- Java
- Excel
- hive
- Apache
- dataframe
- matplotlib
- django
- list
- 파이썬
- math
- array
- c#
- Python
- google apps script
- Github
- PostgreSQL
- Tkinter
- Google Excel
- string
- Kotlin
- GIT
- numpy
- PySpark
- Google Spreadsheet
- Mac
Archives
- Today
- Total
목록to_timestamp (1)
달나라 노트
Redshift : to_timestamp() (timestamp로 변환)
to_timestamp() 함수는 날짜/시간 형태의 문자열이나 timestamp type의 데이터를 받아 원하는 timestampz로 변환합니다. Syntax to_timestamp(timestamp/timestamp_string, format) - timestamp/timestamp_string timestamp로 type을 변환할 대상 timestamp 또는 날짜/시간 형태의 문자열을 전달합니다. - format timestamp/timestamp_string 이 어떤 형태를 가지고 있는지에 대한 pattern을 의미합니다. select to_timestamp('20230101_082739', 'yyyymmdd_HH24MISS') -- Result 2023-01-01 08:27:39.000000 +0..
SQL/Redshift
2023. 10. 10. 21:50