Ask a Question related to Oracle Server, Design and Development.
-
Vladimir M. Zakharychev #1
Re: Urgent ! Please reply ASAP ref. ORA-04088/ORA-04091
> SELECT d.amount INTO amt FROM ARBOR.BILL_INVOICE b,
is where your problem is. Try replacing it with> ARBOR.BILL_INVOICE_DETAIL d WHERE
> b.index_bill_ref = d.index_bill_ref AND b.index_bill_ref_resets =
> d.index_bill_ref_resets;
SELECT amount INTO amt
FROM BILL_INVOICE_DETAIL
WHERE index_bill_ref = :newRow.index_bill_ref
AND index_bill_ref_resets = :newRow.index_bill_ref_resets;
and the trigger should work (but not necessarily correctly - I am not
sure that detail record is already there when the trigger on master
table fires, thus the statement may throw NO_DATA_FOUND.)
Besides the fact that you are selecting from the same table the trigger
is defined on (which is generally prohibited - that's why you get
ORA-4091), your original statement will select more than one row
and will fail because single row is expected.
--
Vladimir Zakharychev (bob@dpsp-yes.com) [url]http://www.dpsp-yes.com[/url]
Dynamic PSP(tm) - the first true RAD toolkit for Oracle-based internet applications.
All opinions are mine and do not necessarily go in line with those of my employer.
Vladimir M. Zakharychev Guest
-
Help needed. Please reply asap.
I got an enquiry to make on Macromedia HandFree. Can it really design namecard? or i have to start from scratch, for e.g. drawing out a... -
My topic disappeared. urgent reply needed asap.
Can i use macromedia freehand to create namecards instantly? is there a feature in the software itself that allows me to create namecards or do i... -
Creating Outlines in Illustrator Question - Please Reply ASAP
Creating Outlines in Illustrator Question - Please Reply ASAP I have a logo that I have to animate in Flash 5, but I don't have the font and I... -
URGENT REPLY
DR.PETER MAXWELL. CHIEF ACCOUNTANT NIGERIA NATIONAL PETROLEUMCORPORATION. Headquaters ,Lagos-Nigeria. DEAR FRIEND AND PARTNER, I AM DR.PETER... -
URGENT, READ AND REPLY IF IT'S FINE BY YOU.
muwangatapio muwangat@z6.com .. Firstly, I am Muwanga tapio, the first son and the Asst. chiarman of (muwanga's farms zimbabwe,)and my father...



Reply With Quote

