ORA-01747: invalid user.table.column, table.column, or column specification

前端 未结 11 2351
旧巷少年郎
旧巷少年郎 2021-01-04 01:27

Get the above error when the execute immediate is called in a loop

Update CustomersPriceGroups set  1AO00=:disc  Where cuno=:cuno
    Parameters:   disc=66 c         


        
11条回答
  •  花落未央
    2021-01-04 02:17

    if you add a extra "," at the end of the set statement instead of a syntax error, you will get ORA-01747, which is very very odd from Oracle e.g

      update table1 
      set col1 = 'Y', --this odd 1
      where col2 = 123
      and col3 = 456 
    

提交回复
热议问题