If LogID is not identity, is there a rule to generating it? Or is it a column in the CustomerID table? If LogID is simply a surrogate key which should be an ever increasing number, it is probably best to make it an identity column. If it is a columnin the Customer table, you can change the trigger like shown below:CREATE TRIGGER dbo.CustomerLogTrigger ON dbo.Customer
FOR INSERT
AS
INSERT INTO CustomerLog
( LogID, CustomerID)
SELECT
INSERTED.LogID
INSERTED.ID
GO
To add timestamp, you will need to alter the table first and add another column like this:ALTER TABLE dbo.Customer ADD InsertTimestamp DATETIME NOT NULL DEFAULT GETDATE();