怎么用update更新某个字段的指定几位 怎么用update更新某个字段的指定几位,例如:role="000",将表中的temp字段的后两位置为01? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 update tableA set temp=substr(temp,1,length(temp)-2)||'01' where role='000'; update 表 set temp = substr(temp, 1, length(temp) - 2) || '01' where role = '000' update table1 set role=substr(role,1,length(role)-2)||'01' 关于存储过程并发处理 这个sql写的差吗?请大家多拍砖指教 3表无外键关系,怎么进行关联查询? 请教:如此的Oracle数据该如何恢复?急盼高手赐教! 工作了5年的公司,要辞职了 因为要进行测试,请问怎么样能够让sysdate函数产生错误,取不到系统时间?如解决,马上给分。 关于导入完整数据库文件的问题 not in 和not exists有什么区别?使用这两个条件查出的结果不一样啊? 刚装了oracle,请问如何使用他自带的帮助文档呀? oracle 性能优化建议小结 oracle导库问题 请教基本数据库操作的问题!
update tableA set temp=substr(temp,1,length(temp)-2)||'01' where role='000';
set temp = substr(temp, 1, length(temp) - 2) || '01'
where role = '000'