0
Citation
I am building an sql where I have the following information yyyymmdd 20190327 is in the database as integer, I need to convert into ddmmyyyy 27032019 continuing to be an integer in select. Does it have a function to do that?
Solved:
CONVERT(INT,REPLACE(CONVERT(varchar,CONVERT(date, convert(varchar(10), 20190327)),105),'-',''))
has yes,
convert
andcast
– Ricardo Pontual