create sequence HIBERNATE_SEQUENCE increment by 1 start with 1 nomaxvalue nocycle cache 10;--创建序列(hibernate 管理连接)
3、sql语法的差异
between to_date('2010-04-23','yyyy-mm-dd') and to_date('2010-04-24','yyyy-mm-dd')--查询某时间段要转换格式
between to_date('2010-04-23','yyyy-mm-dd HH24:MI:SS') and to_date('2010-04-24','yyyy-mm-dd HH24:MI:SS')--