fixed the bug with view triggers in object explorer (#639)

This commit is contained in:
Leila Lali
2018-06-18 11:36:24 -07:00
committed by GitHub
parent 29fb715ad5
commit 7322854c7b
4 changed files with 25 additions and 1 deletions

View File

@@ -241,6 +241,16 @@
GO
CREATE TRIGGER ViewTrigger on [HumanResources].[vEmployee]
INSTEAD OF INSERT
AS
BEGIN
Update [HumanResources].[Employee]
set JobTitle = 'Test1'
Where JobTitle = 'Test'
END
GO
CREATE TABLE [dbo].[tableWithAllDataTypes](
[cDecimal] [decimal](18, 5) NULL,
[cNumeric] [numeric](18, 2) NULL,