Click here to Skip to main content
15,886,825 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to get next 30 days birthday from today days

What I have tried:

SELECT
*
FROM
bx_agent_master
WHERE
to_date(to_char(DOB,'DD-Mon'),'DD-Mon-yyyy') BETWEEN sysdate AND sysdate+5;
Posted
Updated 6-Dec-18 21:19pm
Comments
Richard Deeming 7-Dec-18 8:44am    
How will that cope with people born on 29th February?

1 solution

Try changing sysdate+5 to sysdate+30
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900