@Thumati madhu The error message you’re encountering, ORA-01821: date format not recognized, indicates that there’s an issue with the date format in your query.
The date format you’re using is not recognized by Oracle. Oracle’s TO_DATE
function expects a valid format model to interpret the input string correctly. You need to adjust your date format to match the ISO 8601 format with fractional seconds and time zone information.
Refer to this post: https://stackoverflow.com/questions/39164692/ora-01821-date-format-not-recognized-error-for-iso-8601-date-with-local-time
Additional Reading: https://stackoverflow.com/questions/40569080/error-ora-01821-date-format-not-recognized
https://stackoverflow.com/questions/61059772/ora-01821-date-format-not-recognized
Also, ensure that you have the ODBC driver installed. Link to download Microsoft ODBC driver is: https://www.microsoft.com/en-in/download/details.aspx?id=40886
Once the installation or Upgrade completes, consider restarting system.