EXECUTE IMMEDIATE USING导致的ORA-01747,ORA-06512等字段名无效,字段名为关键字等问题
话不多说,直接上问题:DECLAREV_SQLVARCHAR2(5000);V_UPDATE_SQLVARCHAR2(5000);TABLE_NAMEVARCHAR2(50);BEGINFORCOLIN(SELECTCOLUMN_NAMEFROMUSER_TAB_COLSWHERETABLE_NAME='JOB_HEAD')LOOPV_SQL:=V_SQL||COL.COLUMN_NAME||',