select a.*,
from table_name
WHERE
a.exec_time>=to_date('20070611 00:00:01', 'yyyymmdd hh24:mi:ss')
and a.exec_time<=to_date('20070611 23:59:59', 'yyyymmdd hh24:mi:ss')
select a.*,
from table_name
WHERE
a.exec_time>=to_date('20070611 00:00:01', 'yyyymmdd hh24:mi:ss')
and a.exec_time<=to_date('20070611 23:59:59', 'yyyymmdd hh24:mi:ss')
枚舉:一些方法在運行時,它需要的數據不能是任意的,而必須是一定範圍內的值,可以直接使用枚舉予以解決。 枚舉類的定義格式: enum 類名{//枚舉值
測試代碼 [java] view plain copy print?package com.lxk.enumTest; /**