tblContact [PK contId(int 4), Name, MemoCount(int 4)]
tblMemo[pk memoId (int 4), {FK} contId(int 4), memo (varchar 100)]
I need to Write a trigger to automatically update the MemoCount field in the tblContact whenever a memo is inserted, updated or deleted. Assuming Assuming that the memoCount field have the correct value.
Edited by - mark00189 on 05/13/2003 2:42:08 PM