我第一次用ORACLE,菜鸟一个,在psl/devoloper中用sql语句,以下语句出错,请帮忙update jds set jdtime='0300' where jdtime is null and intime>=date('2005-8-25')
出错提示“缺少表达式”说明字段     类型    长度
jdtime   字符     4
intime   日期  
update jds set curet=residence where curet is null
出错提示不是太明白,大概是长度不匹配的意思字段      类型    长度
curet     字符     20
residence 字符     20
请各位帮忙,急,谢谢!

解决方案 »

  1.   

    update jds set jdtime='0300' where jdtime is null and intime>=to_date('2005-8-25','yyyy-mm-dd') 
      

  2.   

    HEBO2005:不行,有出错:出错提示: 
    ORA-01631:表JDS达到MAX # EXTENTS 
    ORA-06512:在JDS,LINE 9 
    ORA-04088:触发器 JDS 执行中出错 
    查年错误堆栈的程序源? 
      

  3.   

    update jds set jdtime='0300' where jdtime is null and to_char(intime,'yyyymmdd')='2005-8-25'试试看
      

  4.   

    ORA-01631:表JDS达到MAX # EXTENTS 
    alter table xxxx
    storage ( ..., maxextents xx, ...)
      

  5.   

    update jds set jdtime='0300' where jdtime is null and intime>=date '2005-8-25'