Viewing 4 posts - 1 through 5 (of 5 total)
So if I say " the trigger will fire when a record is added or removed from the table ingredient" is not 100% correct. Because it depends on what's inside...
December 10, 2012 at 8:35 am
CREATE TRIGGER trg_minimalNumberIngredientsForRecipe ON ingredients
AFTER DELETE,INSERT
AS
BEGIN
IF EXISTS
(
SELECT recipeNumber
FROM ingredients
GROUP BY recipeNumber
...
December 10, 2012 at 7:27 am
I started with a small idea. I know how to check for one row, if 1 row is inserted, but I don't know
how to do it for severel sets....
December 10, 2012 at 5:12 am
I am trying to solve possible constraints that my coming test at my study might ask, that could be implemented with Trigger, check constraints or stored procedures.
Your question: Also what...
December 10, 2012 at 4:55 am
Viewing 4 posts - 1 through 5 (of 5 total)