/****** Object:  Trigger [dbo].[CSAPP_NEWS_CHANGED]    Script Date: 07.03.2019 13:32:29 ******/

IF NOT EXISTS (select * from sys.objects where type = 'TR' and name = 'CSAPP_NEWS_CHANGED')
EXEC dbo.sp_executesql @statement = N'
CREATE TRIGGER [dbo].[CSAPP_NEWS_CHANGED] ON dbo.[CSAPP_NEWS] FOR INSERT,UPDATE,DELETE
as
SET NOCOUNT on
BEGIN
EXEC dbo.APP_UPDATE ''News''
end'
