在执行以下存储过程时,我在 Oracle 中遇到错误。您能否让我知道错误是什么。
[Error] Syntax check (5: 22): ERROR line 5, col 22, ending_line 5, ending_col 22, Found 'TABLE', Expecting: ; -or- := -or- . -or- @ -or- ( ROW
PROCEDURE MyProcedure(res OUT NUMBER)
AS
is_output BOOLEAN;
BEGIN
TRUNCATE TABLE MyTable;
END MyProcedure;