IF NOT EXISTS (select * from sys.objects where type = 'TR' and name = 'AUTOS_KFZ_GRUPPEN_CHANGED')
EXEC dbo.sp_executesql @statement = N'

CREATE TRIGGER [dbo].[AUTOS_KFZ_GRUPPEN_CHANGED] ON dbo.[AUTOS_KFZ_GRUPPEN] FOR INSERT,UPDATE,DELETE
as
SET NOCOUNT on
BEGIN
EXEC dbo.APP_UPDATE ''Groups''
end'