Hello
I work with Oracle 9 database. I want to create a trigger using 2
tables: KEY_SKILLS_STUD ENT and KEY_SKILLS. There are fields in
KEY_SKILLS_STUD ENT: KEY_SKILLS_ID, PORTFOLIO_RESUL T and ACHIEVED. The
trigger should update automatically the field ACHIEVED to TRUE (-1),
when PORTFOLIO_RESUL T is updated with strings "Pass" or "Exempt", but
not always. A field KEY_SKILLS_ID is a link to KEY_SKILLS table.
KEY_SKILLS table has got fields KEY_SKILLS_AREA _ID and KEY_SKILLS_ID.
I want the trigger to work, only if KEY_SKILLS_AREA _ID is >3.
I am not very experienced with Oracle triggers. I have made a couple
in my life, but they were much simpler, on a single table. Please
could you post me an example of a code for such trigger, or to point
into a right direction.
Thank you very much.
I work with Oracle 9 database. I want to create a trigger using 2
tables: KEY_SKILLS_STUD ENT and KEY_SKILLS. There are fields in
KEY_SKILLS_STUD ENT: KEY_SKILLS_ID, PORTFOLIO_RESUL T and ACHIEVED. The
trigger should update automatically the field ACHIEVED to TRUE (-1),
when PORTFOLIO_RESUL T is updated with strings "Pass" or "Exempt", but
not always. A field KEY_SKILLS_ID is a link to KEY_SKILLS table.
KEY_SKILLS table has got fields KEY_SKILLS_AREA _ID and KEY_SKILLS_ID.
I want the trigger to work, only if KEY_SKILLS_AREA _ID is >3.
I am not very experienced with Oracle triggers. I have made a couple
in my life, but they were much simpler, on a single table. Please
could you post me an example of a code for such trigger, or to point
into a right direction.
Thank you very much.
Comment