DROP TRIGGER dbo InsertNigger GO CREATE TRIGGER dbo InsertNigger ON Vi

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
DROP TRIGGER dbo.[InsertNigger]
GO
CREATE TRIGGER dbo.[InsertNigger]
ON ViewTwo
INSTEAD OF INSERT
AS
PRINT 'Not inserted'
GO
DROP TRIGGER dbo.[UpdateNigger]
GO
CREATE TRIGGER dbo.[UpdateNigger]
ON ViewTwo
INSTEAD OF UPDATE
AS
PRINT 'Not updated'
GO
DROP TRIGGER dbo.[DeleteNigger]
GO
CREATE TRIGGER dbo.[DeleteNigger]
ON ViewTwo
INSTEAD OF DELETE
AS
BEGIN
PRINT 'Not deleted'
END;
GO