执行oracle存储过程,总是出现Warning: Procedure created with compilation errors错误,求高手指点
存储过程createorreplaceproceduredeleteDataASbeginTRUNCATETABLETEMP;COMMIT;enddeleteData;执...
存储过程
create or replace procedure deleteData
AS
begin
TRUNCATE TABLE TEMP;
COMMIT;
end deleteData;
执行后报错:
Warning: Procedure created with compilation errors
show error显示:
LINE/COL ERROR
-------- ------------------------------------------------------------------------------------------------------------------------------------------------------------
4/11 PLS-00103: Encountered the symbol "TABLE" when expecting one of the following: := . ( @ % ; The symbol ":= was inserted before "TABLE" to continue.
求大神指点!!!!急急急!!!! 展开
create or replace procedure deleteData
AS
begin
TRUNCATE TABLE TEMP;
COMMIT;
end deleteData;
执行后报错:
Warning: Procedure created with compilation errors
show error显示:
LINE/COL ERROR
-------- ------------------------------------------------------------------------------------------------------------------------------------------------------------
4/11 PLS-00103: Encountered the symbol "TABLE" when expecting one of the following: := . ( @ % ; The symbol ":= was inserted before "TABLE" to continue.
求大神指点!!!!急急急!!!! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询