Oracle SQL date between not showing -
this have in table:
what want sessiondate on june, using code:
select * conferencesession sessiondate between '01-06-17' , '30-06-17';
but result empty didn't code.
you can use trunc
function 'month' june 2017:
select * conferencesession trunc(sessiondate, 'month') = trunc(to_date('06-17','mm-yy'),'month')
Comments
Post a Comment