I am trying to update the current record a user is working on via a trigger but it is updating all of the records since I cannot designate the actual record in the trigger.
CREATE TRIGGER TimeDate ON dbo.Asgnmnt
FOR INSERT, UPDATE, DELETE
AS
Update Asgnmnt
set TimeAssign = (select convert(varchar(8),getdate(),108) as [time])
*where callid = 'whatever the callid is the client is working on'*
*This is where I would need it to update the particular record the user is working on, in this case a callid.*
CREATE TRIGGER TimeDate ON dbo.Asgnmnt
FOR INSERT, UPDATE, DELETE
AS
Update Asgnmnt
set TimeAssign = (select convert(varchar(8),getdate(),108) as [time])
*where callid = 'whatever the callid is the client is working on'*
*This is where I would need it to update the particular record the user is working on, in this case a callid.*