본문 바로가기
programming/DB

[PostgreSQL] 날짜 함수 to_timestamp()

by kvve 2022. 6. 15.

to_timestamp()

select to_timestamp('20220615', 'YYYYMMDD')

결과

2022-06-15 00:00:00

 

'programming > DB' 카테고리의 다른 글

[postgreSQL] 테이블 파티셔닝  (1) 2022.09.13
[PostgreSQL] ROW_NUMBER() 함수  (0) 2022.06.20
[PostgreSQL] 문법 사이트  (0) 2022.06.15
[PostgreSQL] substring() 함수  (0) 2022.06.15
column 데이터 타입 변경 : modify  (0) 2021.08.25

댓글