Link to home
Start Free TrialLog in
Avatar of ratna1234
ratna1234

asked on

db2 date range

Hi,

 I would liek to know how to use date range like column hire_date between Jan -- 2009 to Feb 2010.


select XXXX , YYYY from TABLE where HIRE_DATE between JAN--2009 and FEB 2010.

can you corect my syntax for SQL query in db2.

Thanks,
ASKER CERTIFIED SOLUTION
Avatar of Kent Olsen
Kent Olsen
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial