Q
Problem solve Get help with specific problems with your technologies, process and projects.

Calling a stored procedure in a trigger

How to call an Oracle stored procedure in a trigger?

How to call an Oracle stored procedure in a trigger?
This is a very easy task. Let's assume I have a stored proc titled DO_WORK and I wish to call it in a trigger. In the trigger, I might have code that looks like the following:
BEGIN
  DO_WORK();
END;
/
You can add parameters to the proc call as well.
BEGIN
  DO_WORK(param1,param2);
END;
/

Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close