CREATE TRIGGER SalesOrderDetail_UPDATE ON Sales.SalesOrderDetail AFTER UPDATE AS BEGIN UPDATE Sales.SalesOrderHeader SET SubTotal = (SELECT SUM(LineTotal) FROM inserted) WHERE SalesOrderID = (SELECT SalesOrderID FROM inserted) END
CREATE TRIGGER SalesOrderDetail_UPDATE ON Sales.SalesOrderDetail AFTER UPDATE AS BEGIN UPDATE Sales.SalesOrderHeader SET SubTotal = (SELECT SUM(LineTotal) FROM inserted) WHERE SalesOrderID = (SELECT SalesOrderID FROM inserted) END
CREATE TRIGGER trgAfterInsert ON [dbo].[Employee_Test] FOR INSERT AS PRINT 'A record has been inserted into Employee_Test table.'
CREATE TRIGGER trgAfterUpdate ON [dbo].[Employee_Test] FOR UPDATE AS UPDATE Employee_Test SET Salary = i.Salary FROM Employee_Test e JOIN inserted i ON e.EmployeeId = i.EmployeeId WHERE e.Salary <> i.Salary
CREATE TRIGGER trgAfterDelete ON [dbo].[Employee_Test] FOR DELETE AS IF EXISTS (SELECT 1 FROM deleted WHERE EmployeeId = USER_ID()) BEGIN RAISERROR ('You cannot delete your own record.', 16, 1); ROLLBACK TRANSACTION; END
Back-end App Developer
Front-end Web Developer
Full Stack Developer (Java)
Full Stack Developer (.Net)
Full Stack Developer (MEAN)
Full Stack Developer (MERN)
DevOps Engineer
Database Engineer (AzureSQL)
Database Engineer (Oracle)
Database Engineer (General)
Solution Architect (.NET)
Solution Architect (Java)
Solution Architect (Ruby)
Solution Architect (Python)
AI Engineer (Python)
Sr. AI Engineer (Python)
AI Strategist (Python)
Business Intelligence Engineer
Systems Analyst
Mainframe Developer (COBOL)
Mainframe Developer (General)