ora-0095 缺失關鍵字錯誤

ora-0095 缺失關鍵字

目的:

    select count(1) into v_count2  from ne_job j   where j.job_id in ( v_job_id_str  ) 

修改後執行成功
    
    sql_str:=' select count(1)   from ne_job j   where j.job_id in ( '||v_job_id_str||' )   ';
    dbms_output.put_line('-0000-'||sql_str );
      execute immediate   sql_str into v_count2 ; 
       dbms_output.put_line('-2222-'||v_count2 );

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章