Viewing 4 posts - 1 through 4 (of 4 total)
We finally solved our trigger problem. If a row already existed in table STUDENT_T with the SSN value found in INSERTED, we would receive an insert error. Violation of PRIMARY...
August 30, 2005 at 10:26 am
I don't get a value from the select statement about the TriggerDisabled. Both triggers fail. When I ran a debug in QA the code never lands on the trigger; it...
August 23, 2005 at 2:42 pm
CREATE TRIGGER insertMedPerson_T
ON SWCSPersonnel.dbo.PERSON_T
FOR INSERT
AS
INSERT INTO SWCSMedical.dbo.MED_PERSON_T (SSN)
SELECT SSN FROM INSERTED
CREATE TRIGGER insertStudent_T
ON SWCSPersonnel.dbo.PERSON_T
FOR INSERT
AS
INSERT INTO SWCSStuMgt.dbo.STUDENT_T (SSN)
SELECT SSN FROM...
August 23, 2005 at 2:25 pm
Viewing 4 posts - 1 through 4 (of 4 total)