如何更新时间列,在线等 update Web_hnjz_Table_UserInfo set uptodate=to_date('2006-11-06 00:00:00','yyyy-mm-dd hh24:mi:ss') 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 update Web_hnjz_Table_UserInfo set uptodate=to_date('2006-11-06 00:00:00','yyyy-mm-dd hh24:mi:ss'); update Web_hnjz_Table_UserInfo set uptodate=to_date('2006-11-06 00:00:00','yyyy-mm-dd hh24:mi:ss') update Web_hnjz_Table_UserInfo set uptodate=to_date('20061106 00:00:00','yyyymmdd hh24:mi:ss')根据varchar的时间格式的不同,后面转换的格式也就不同 update Web_hnjz_Table_UserInfo set uptodate=to_date('2006-11-06 00:00:00','yyyy-mm-dd hh:mm:ss') update Web_hnjz_Table_UserInfo set uptodate=to_date('2006-11-06 00:00:00','yyyy-mm-dd hh24:mi:ss') 在update时,如想把时间精确到天为止,后面的时,分,秒不考虑的情况下,可用这样的命令:update Web_hnjz_Table_UserInfo set uptodate=to_date('2006-11-06','yyyy-mm-dd');同样,如想精确到月份也行.总之一句话:to_date后面的两个引号里面的格式须相对应,数据库才能正确运行. 一个排序问题 无法用sys登录 dbms_job.submit(testjobid,'GET_data;',sysdate,'trunc(sysdate+1)+22/24'); oracle10客户端配置 安装时碰见的奇怪问题,请帮忙看看! 急oracle 数据导入引起服务停止 sysdba和sysoper得初试密码是多少 在WINDOWS2000 Server下安装ORACLE7.3.3的问题 oracle中能够得到毫秒级的时间吗?如果可以的话,如何实现?(急!) Oracle816可以使用XML吗 Oracle所占空间为什么会慢慢变得很大? oracale数据库问题,请大家做答!!!
根据varchar的时间格式的不同,后面转换的格式也就不同
update Web_hnjz_Table_UserInfo set uptodate=to_date('2006-11-06','yyyy-mm-dd');
同样,如想精确到月份也行.总之一句话:to_date后面的两个引号里面的格式须相对应,数据库才能正确运行.