Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Help with Triggers and Procedures

439690Mar 6 2005 — edited Mar 2 2007
I have been working with this for awhile. I m not sure how to do these. I have created them but they have compilation errros. Is there a way to view the syntax of a trigger or procedure that you create? Also here are the things that i dont know how to get done. Can anyone help?

14. Write the trigger to update the CUST_BALANCE in the CUSTOMER table when a new invoice record is entered. (Assume that the sale is a credit sale.) Test the trigger using the following new INVOICE record:

8005, 1001, ’27-APR-04’, 225.40

Name the trigger trg_updatecustbalance.

15. Write a procedure to add a new customer to the CUSTOMER table. Use the following values in the new record:

1002, ‘Rauthor’, ‘Peter’, 0.00

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 30 2007
Added on Mar 6 2005
31 comments
3,255 views