When I run the following in an Oracle shell, it works fine
truncate table table_name
But when I try to put it in a stored procedure
CREATE OR REPLACE PROCEDURE test IS BEGIN truncate table table_name; END test; /
it's not with
ERROR line 3, col 14, ending_line 3, ending_col 18, Found 'table', Expecting: @ ROW or ( or . or ; :=
What for?
oracle plsql stored-procedures ddl
Klas Mellbourn Mar 09 '09 at 10:34 2009-03-09 10:34
source share