문제

Short question! I have a column with a date (timestamp with time zone) and it looks like f.e.: "1993-11-22 12:00:00+01"

I want to change the content of this column so that in the end I have: "1993-11-22"

How can this easily be done?

Thanks!!

도움이 되었습니까?

해결책

Change the data type to be a date:

alter table TABLE alter COLUMN type date;
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top