I have the following output that is stored in a string field:
Query
SELECT StringField5 FROM MyTable WHERE OrderID=1
Output
02/13/2018
I would like to use one of the ways SQL allow to convert/cast to get the following output:
13/02/2018.
I have tried the following code and a lot of them found on this website but none helped and always returned the first output described (02/13/2008):
SELECT CONVERT(varchar(25), StringField5, 103) FROM MyTable WHERE OrderID=1
I'm using SQL Server 2016.
What am I missing?