I know I have seen this before, but the keyword search is still down.
I need to create a stored procedure with the following code:
When I run this, I get the following message:
The error shows up as:
There was something about another command you needed to be able to execute DDL statements in a stored procedure.
Any help would be greatly appreciated...
Terry M. Hoey
th3856@txmail.sbc.com
While I don't mind e-mail messages, please post all questions in these forums for the benefit of all members.
I need to create a stored procedure with the following code:
Code:
CREATE PROCEDURE EHGRIFF.TRUNC_STATIC_TABLES IS
BEGIN
TRUNCATE TABLE EHGRIFF.C_AGENT;
END;
Code:
MGR-00073: Warning: PROCEDURE EHGRIFF.TRUNC_STATIC_TABLES created with compilation errors.
Code:
Line # = 4 Column # = 10 Error Text = PLS-00103: Encountered the symbol "TABLE" when expecting one of the following:
:= . ( @ % ;
The symbol ":= was inserted before "TABLE" to continue.
Any help would be greatly appreciated...
Terry M. Hoey
th3856@txmail.sbc.com
While I don't mind e-mail messages, please post all questions in these forums for the benefit of all members.