An application is passing the below query to the SQL server and I'm receiving an exception from SQL server as The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.
update Images set Created_DATE='23/09/2020 11:00:09'
where ID = 10
Additionally, I cant see the below error in Profiler.
What I've tried is,
- Changes the Date format of SQL server as DMY
- Change the language to en-GB
I can't change the code so how to make this work by changing SQL server configuration?