Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hql how to formatting the dates

 
ivan jordan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am looking around and i can't fond how to user data_format in hql

How can i write in hql something like that

SELECT * FROM my_table WHERE DATE_FORMAT(my_date_column,'%Y-%m') >= "2008-12";
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic