Person.uCountryRegion Trigger
Information
| Name | Person.uCountryRegion |
| Table Name | Person.CountryRegion |
| Created | 14.10.2005. 1:59:51 |
| Modified | 2.7.2009. 10:35:10 |
| Disabled |   |
| For replication |   |
| Instead of trigger |   |
| Activates on | UPDATE |
SQL Script
CREATE TRIGGER [Person].[uCountryRegion] ON [Person].[CountryRegion]
AFTER UPDATE NOT FOR REPLICATION AS
BEGIN
SET NOCOUNT ON;
UPDATE [Person].[CountryRegion]
SET [Person].[CountryRegion].[ModifiedDate] = GETDATE()
FROM inserted
WHERE inserted.[CountryRegionCode] = [Person].[CountryRegion].[CountryRegionCode];
END;