What is the correct DateTimeFormatter pattern for datetimeoffset column
问题 What is the correct DateTimeFormatter pattern for querying a SQL Server table by a datetimeoffset column. When I execute the below query, I get results. What is the correct pattern I should use to run the same query from the java app? SELECT * FROM TABLE WHERE CreateTimestamp >= '2020-07-06 06:00:00.0000000 +00:00' Below is the java code snippet I use to convert the date: public String convertToDatabaseColumn(OffsetDateTime offsetDateTime) { DateTimeFormatter formatter = DateTimeFormatter