Update REC_APP Set Installed_Capacity_MW = TO_CHAR(Substr(REC_INST_CAP, 1, Instr(REC_INST_CAP, ' ')-1),'fm999990.000');
当我执行此查询时,我收到此错误SQL错误:ORA-01722:无效的号码,请帮助我
您在数据或sql中有问题,请尝试尝试查看哪一行对您的语句有问题
select Substr(REC_INST_CAP, 1, Instr(REC_INST_CAP, ' ')-1)
from REC_APP
where regexp_like (Substr(REC_INST_CAP, 1, Instr(REC_INST_CAP, ' ')-1),'\D')
该语句的问题可能是您选择了错误的值部分