Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
CREATE TRIGGER tr_tableB_calltime ON dbo.tableB AFTER INSERT AS UPDATE cd SET calltime = DATEADD(HH,2,GETDATE()) FROM dbo.tableB cd INNER JOIN inserted i ON cd.tableBid = i.tableBid JOIN dbo.tableA c ON cd.eventID = c.eventID WHERE cd.calltime IS NULL AND c.status = 'DDDD'
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|creating a permanent table from the results of a select statement in sql server 2016||5||32|
|SQL eating up memory?||16||41|
|SQL Session Remains Open After ReportViewerControl Form is Closed.||8||34|
|Database Mail Profiles||1||22|