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;

原文地址:https://www.cnblogs.com/leiwei/p/3615356.html