CREATE TABLE Lesson ( lID nchar(4), lName nvarchar(30) ) GO CREATE TABLE SaveLog ( tblname nvarchar(20), objID nvarchar(20), whatDO nvarchar(20), sysUser nvarchar(20), theDate datetime ) GO
CREATE TRIGGER InsertTrig ON Lesson AFTER INSERT AS BEGIN INSERT INTO SaveLog(what should i write here? pls, help me...) END
INSERT INTO Lesson VALUES('NU01', 'Math')
SELECT * FROM SaveLog
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)