How to retrieve date in a different format - SQL

I have a column with date in this format:2017-01-31 23:07:50.569000 In my query, I am using ".... where progress_datetime between 20200319 and 20200324" This doesn't seem work. Does anyone know how I can retrieve the correct date without having to input the year-month-day and time?

I am using TEREDATA.

Thank you.



from Recent Questions - Stack Overflow https://ift.tt/2PbRLUT
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept