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.
タイムスタンプ値をPostgreSQL8.0.2列に保存できるように、フォーマットに変換'dd-MM-yyyy HH:mm:ss.fff'するにはどうすればよいですか?'yyyy-MM-dd HH:MI:SS.MS'timestamp
'dd-MM-yyyy HH:mm:ss.fff'
'yyyy-MM-dd HH:MI:SS.MS'
timestamp
おそらく、フォーマットを変換する必要はなく、発行する前にヨーロッパの日付スタイルに切り替えるだけCOPYです。
COPY
コマンドは次のとおりです。
SET datestyle to 'DMY';