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

前端 未结 11 2336
旧巷少年郎
旧巷少年郎 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:08

    check your query for double comma.

    insert into TABLE_NAME (COLUMN1, COLUMN2,,COLUMN3) values(1,2,3);
    

    (there is extra comma after COLUMN2).


    Update: recently (some people have special talents) i succeed to get same exception with new approach:

    update TABLE_NAME set COLUMN1=7, set COLUMN2=8
    

    (second SET is redundant)

提交回复
热议问题