hql to_number

select max(cast(o.ordernum,int)) from className o

or 

select max(cast(o.ordernum as int)) from className o

posted @ 2016-04-07 16:12  fashflying  阅读(472)  评论(0)    收藏  举报