ASSIGNMENT 6 SOLUTION WITH SOURCE CODE
Triggers
Set A
Q 1. Write a trigger which will fire before insert or update on Investment having investment amount less than 10000. (Raise user defined exception and give appropriate message)
Download code      Source codeQ 2. Write a trigger which will fire before insert or update on Employee having Emp id less than equal to zero (Raise user defined exception and give appropriate message)
Download code      Source codeQ 3. Write a trigger which will fire before insert or update on Investment having investment date greater than current date. (Raise user defined exception and give appropriate message)
Download code      Source codeSet B
Q 1. Write a trigger which will fire before insert or update on Menu having price less than or equal to zero. (Raise user defined exception and give appropriate message)
Download code      Source codeQ 2. Write a trigger which will fire before insert or update on Bill having day other than seven week days. (Raise user defined exception and give appropriate message)
Download code      Source codeQ 3. Write a trigger which will fire before insert or update on Bill having total less than or equal to 10 Rs. (Raise user defined exception and give appropriate message)
Download code      Source code
0 Comments