create table Table_name
(id varchar2(50),
DT date default sysdate)
其中DT满足要求。

解决方案 »

  1.   

    另外查询时如何写?
    在sqlserver 中:select * from lhb where thedate>'2002/2/2'
    在oracle中如何写?
      

  2.   

    select * from lhb where thedate>to_date('2002/2/2','yyyy/mm/dd')
      

  3.   

    select * from lhb where thedate>to_char('2002/02/02','yyyy/mm/dd')
      

  4.   

    没有时间部分那不能这样的,turnc(sysdate,'dd')或者做一个触发器