Hi All,
I need to export data out to a txt file with the date format of MMDDYYYY - the source date is a datetime (2015-09-01 00:00:00.000) format - below is the solution I have:
My question is, is this the best solution for this task?
Many thanks
Michael
I need to export data out to a txt file with the date format of MMDDYYYY - the source date is a datetime (2015-09-01 00:00:00.000) format - below is the solution I have:
SQL:
select replace(convert(varchar(10), getdate(), 101), '/', ')
My question is, is this the best solution for this task?
Many thanks
Michael