Adjusting CSV Datetime/Timestamp Formats in AWS or SQL Server
问题 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