Bonjour,
Je reçois l'erreur suivante lorsque j'essai d’exécuter la commande :
EXECUTE IMMEDIATE 'TRUNCATE TABLE Ma_Table';
Je souhaiterais l'utiliser dans un package PLSQL, connaitriez-vous des solutions ?Erreur commençant à la ligne 1 de la commande :
EXECUTE IMMEDIATE 'TRUNCATE TABLE Ma_Table'
Rapport d'erreur :
ORA-06550: line 1, column 17:
PLS-00103: Encountered the symbol "TRUNCATE TABLE Ma_Table" when expecting one of the following:
:= . ( @ % ;
The symbol ":=" was substituted for "TRUNCATE TABLE Ma_Table" to continue.
06550. 00000 - "line %s, column %s:\n%s"
*Cause: Usually a PL/SQL compilation error.
*Action:
Partager