求一个更新语句 update tab set f1='010000001……010000010' where f1='10000011……10000020'根据LZ提出的问题,只能这样理解了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 把像10000001 的数据,全部替换成010000001这样的数据就是在前面+个 0?update tab set f1='0'||f1 --for example :[email protected]>select * from test_tab1;ID----------10011100121001310014100151001610017100181001910020已选择10行。[email protected]>commit ;提交完成。[email protected]>update test_tab1 set id = '0'||to_char(to_number(id)-10) 2 /已更新10行。[email protected]>select * from test_tab1;ID----------010001010002010003010004010005010006010007010008010009010010已选择10行。 一个sql join的优化问题 请教大家一些职业规划的建议 oracle 异常处理 连接远程数据库,网络忽然断开,程序崩溃 新手:求存储过程的入门教程 各位高手: 问题:用windows2000客户端启动linux下oracle817的OEM,急!!!在线等待!!!!! 服务启动失败 如何实现将sqlserver2008上面的数据同步到oracle11g上去? order by 问题 IMP-00016: 系统目前不支援所需的字元集转换 (由类型 871 转换为类型 865) yaozw_mountain(山林)yaozw_mountain(山林)
update tab set f1='0'||f1
[email protected]>select * from test_tab1;ID
----------
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020已选择10行。[email protected]>commit ;提交完成。[email protected]>update test_tab1 set id = '0'||to_char(to_number(id)-10)
2 /已更新10行。[email protected]>select * from test_tab1;ID
----------
010001
010002
010003
010004
010005
010006
010007
010008
010009
010010已选择10行。