I need to run a birthday visit for the current month. But I would like it to be automatic, and not have to enter the month. Below is the example I made by typing the month.
NOTE: My field is dt_nasc (TIMESTAMP) .
SELECT * from top_007 where extract(month from dt_nasc)='9'; //referente ao mes 9
Could anyone help me?