Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
简短的问题!我有一个带有日期的列(带有时区的时间戳),它看起来像 fe:"1993-11-22 12:00:00+01"
我想更改此列的内容,以便最后得到:“1993-11-22”
这怎么能很容易做到呢?
谢谢!!
将数据类型更改为日期:
alter table TABLE alter COLUMN type date;