Oracle SQL date between not showing -


this have in table: enter image description here

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

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -