Adjusting CSV Datetime/Timestamp Formats in AWS or SQL Server

跟風遠走 提交于 2020-06-01 05:35:27

问题


I imported the contents of a SQL Server table into an S3 CSV file.

A year_month column was formatted as datetime in SQL Server, and appeared as 2020-01-01 00:00:00.000. That same record appears as 1/1/2020 12:00:00 AM in the S3 csv file.

I am using this dataset in AWS Forecast, which requires 2020-01-01 00:00:00.000 formatting.

What is the best tool within AWS to adjust the format?

Or conversely, can I tackle the problem in SQL Server?

来源:https://stackoverflow.com/questions/61992855/adjusting-csv-datetime-timestamp-formats-in-aws-or-sql-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!