Oracle常用操作

 

比较时间

select * from up_date where update < to_date('2007-09-07 00:00:00','yyyy-mm-dd hh24:mi:ss')
select * from up_date where update <= to_date('2007-09-07 00:00:00','yyyy-mm-dd hh24:mi:ss')

生成一个guid

SELECT sys_guid() from dual;

posted @ 2014-03-21 10:45  Leo_Lei  阅读(127)  评论(0编辑  收藏  举报