the error was resolved with the following trigger code:
CREATE TRIGGER insertanotaVario
on NotaIngreso
SET IDENTITY_INSERT Nota ON
select (idnota,notadescripcion, curso1, curso2, curso3)
FROM INSERTED
SET IDENTITY_INSERT Nota OFF
// Note: do not add the field that is the average calculated from the column(computed column).
No comments:
Post a Comment