memo里面纪录的是时间么?
如果是时间,需要先转换成date型(你的表结构为什么设置成varchar2型的尔不是date型?!)
update test_table set memo=to_char(to_date(memo,'yyyy-mm-dd hh24:mi:ss')+to_date('修改时间','yyyy-mm-dd hh24:mi:ss'),'yyyy-mm-dd hh24:mi:ss') where id='1';

解决方案 »

  1.   

    bzszp:你好!
         memo里面纪录的不是时间,“录入时间”是我为了举例随意输入的一个字符串,(memo是存放备注内容的段),我的目的是把新的备注内容加到旧的内容后面。
      

  2.   

    update test_table set memo=memo||to_char(sysdate,'yyyy-mm-dd hh24:mi:ss') where id='1';也可以
    update test_table set memo=concat(memo,to_char(sysdate,'yyyy-mm-dd hh24:mi:ss')) where id='1';
      

  3.   

    谢谢二位仁兄,问题已解决,ORACLE中字符串连接用'||',SYBASE中用'+'.