我有多条记录,需要在一个字段上修改其内容,在原内容上增加一个"Y"。update sc_tt_pos_info p
set p.pos_sale_no = p.pos_sale_no + 'Y'
where p.sc_tt_pos_info_id in
(
738902,
738905,
738913,
738914,
738967,
738970,
738975,
738976,
738980,
739065,
739120,
739135,
739141,
739145
这样报错:ORA-01722:无效数字。
求正确语句。
set p.pos_sale_no = p.pos_sale_no + 'Y'
where p.sc_tt_pos_info_id in
(
738902,
738905,
738913,
738914,
738967,
738970,
738975,
738976,
738980,
739065,
739120,
739135,
739141,
739145
这样报错:ORA-01722:无效数字。
求正确语句。
解决方案 »
- 下面的sql语句怎么写才能得到我想要的结果
- 各表之间由主键关联的表任意字段组合系统如何实现?
- JOB 不能重复调用,运行一次就没有了,有无例子
- 查看连续时间在7天之内的两条记录的sql语句
- IMP 导入的问题
- 初始数据的问题
- ORACLE无法连接,报ORA-445错误,请高手帮忙分析,谢谢!
- sqlplus登录问题,用system/orcl可以登录,用system/orcl@orcl就登录不了,就死在那里,没有任何提示
- 设置帐户登陆次数的问题
- Oracle 条件trigger
- 请教关于去掉重复数据的oracle的sql问题
- 使用C#访问Oracle,使用连接池,代码如何写,数据库端要不要做配置
update sc_tt_pos_info p
set p.pos_sale_no = p.pos_sale_no || 'Y'
where p.sc_tt_pos_info_id in
(
738902,
738905,
738913,
738914,
738967,
738970,
738975,
738976,
738980,
739065,
739120,
739135,
739141,
739145)