oracle10g - How to create trigger that will run a subquery to count data -



oracle10g - How to create trigger that will run a subquery to count data -

i have appointment table patient_id. want, patient can create maximum 3 appointment. want trigger check total appointment made patient using patient_id before insert data. trigger raise error if count > 3.

can tell me how can that?

thanks

triggers oracle10g constraints

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -