1
How do I apply a function in ORACLE SQL that brings me only records for the current month? BS.: I have a date column in date format (e.g.: 13/09/18).
In sql server I applied the function below and worked perfectly:
DAT_REFERENCIA>= DATEADD(MM,DATEDIFF(MM,0,GETDATE())-0,0)
Ricardo, I did this way that you spoke and ran cool. And if I want to pull the past month and the current month?
– Maikol Oliveira
edited the question and added it there :)
– Ricardo Pontual
Thanks Ricardo. It worked right. Abs.
– Maikol Oliveira