I have a case where I have to extract date from a SQL query that I am running through a python script.
This is the query:
select * from COLL_DS2 where TRANSACTION_DATE between '2021.02.28' and '2021.04.08' order by CREATION_DATE
I want to extract '2021.02.28' and '2021.04.08' from the query string.
Any help please? Thanks in advance