• your trigger is on the table TEST, but the update command is looking at a different table;

    UPDATE S_ID SET STATUS ='Y'

    WHERE SID in

    (SELECT SID FROM TEST_CUST WHERE M_ID=:old."ID");

    shouldn't that be TEST and not TEST_CUST?

    otehrwise, you need to join TEST to TEST_CUST, and update SID from that combined results.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!