string ls_sql
Ls_sql="DELETE tableA WHERE ID IN (... );" &
+ "INSERT tableA (columnA, columnB,... ) SELECT A, B,... The FROM tableB
"The EXECUTE IMMEDIATE: ls_sql;
CodePudding user response:
Suggest writing stored procedures,CodePudding user response:
SQL is the dynamic consolidation, write a stored procedure is not convenientCodePudding user response: