比较数据库中date类型大小

使用to_date()函数

例如

select p.bid_end_time, p.* from t_bid_document p where p.bid_end_time > to_date('2011-06-10 16:00:00','yyyy-mm-dd hh24:mi:ss');

猜你喜欢

转载自blog.csdn.net/tpwulawula/article/details/86671870