1
I would like to convert02/01/2018 for 2018-01-02 00:00:00.000, what I found on the internet so far was:
select CONVERT (datetime, '02/01/2018', 120)
Who returns to me2018-02-01 00:00:00.000, a little different than what I need.
What number should I use instead of the 120?
Check date and time styles at https://docs.microsoft.com/pt-br/sql/t-sql/functions/cast-and-convert-transact-sql
– José Diz